PT-2026-151209

CVE-2026-132825

·

Published

2026-11-19

·

Updated

2026-11-19

Description by

CVSS 3.1
7.4
High
MetricsAV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Ruby versions 2.4.0 through 3.3.13 Ruby versions 3.4.0 through 3.4.12 Ruby versions 4.0.0 through 4.0.9
Description A heap-based buffer overflow occurs during string case conversion when processing certain single-byte encodings, such as ISO-8859-1 or Windows-1252. The issue is triggered when performing operations like upcase, swapcase, downcase(:fold), or casecmp? on crafted text, which can result in one byte being written outside the allocated output buffer. This flaw, referred to as ruby2ßhell, can be reached without authentication in default configurations of common frameworks like Rails and Sinatra, potentially allowing remote attackers to corrupt heap memory and achieve remote code execution (RCE).
Recommendations Upgrade Ruby versions 2.4.0 through 3.3.13 to version 3.3.14. Upgrade Ruby versions 3.4.0 through 3.4.12 to version 3.4.13. Upgrade Ruby versions 4.0.0 through 4.0.9 to version 4.0.10. As a temporary mitigation, restrict the use of case conversion functions on strings using ISO-8859-1 or Windows-1252 encodings.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾