Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.
PoC for CVE-2026-132825: 1-byte heap buffer overflow in Ruby string case conversion (upcase, ISO-8859-1 ß). Crashes ASAN builds and corrupts the adjacent chunk header on glibc. Affects Ruby < 3.3.14 / 3.4.13 / 4.0.10.