Heap-Based Buffer Overflow in Ruby Affects Various Versions
CVE-2026-132825
7.4HIGH
What is CVE-2026-132825?
A heap-based buffer overflow has been identified in Ruby versions prior to 3.3.14, 3.4.13, and 4.0.10. This vulnerability allows for the potential writing of one byte outside of an allocated buffer during case conversion, specifically affecting character encodings such as ISO-8859-1 and Windows-1252. Exploiting this flaw could lead to unpredictable behavior or application crashes, emphasizing the importance of updating to the latest Ruby versions to mitigate security risks.
Affected Version(s)
Ruby 0 < 3.3.14
Ruby 3.4.0 < 3.4.13
Ruby 4.0.0 < 4.0.10
