Heap-based buffer overflow in Ruby - CVE-2026-132825
Published: November 21, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code in some scenarios.
The vulnerability exists due to a heap-based buffer overflow in Ruby's string case conversion when the converted output extends one byte past the end of the output buffer. A remote attacker can supply a crafted string to an application that changes its case and potentially execute arbitrary code.
The overflow occurs with some single-byte encodings, including ISO-8859-1 and Windows-1252.
Affected software
Debian Linux
ruby3.3 (Debian package)
How to mitigate CVE-2026-132825
ruby3.3 (Debian package) - update to 3.3.14-0+deb13u1