Vulnerabilities

CWE-135: Incorrect Calculation of Multi-Byte String Length

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

The product does not correctly calculate the length of strings that can contain wide or multi-byte characters.

Definition as published by MITRE, in English.

2 vulnerabilities in the service point to this weakness

  1. CVE-2026-0810 High 7.1

    A flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the `T…

  2. CVE-2026-34831 Medium 6.5

    Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Files#fail sets the Content-Length response header using String#size instead of String#bytesize. When t…