Heap-Based Buffer Overflow in Ruby Affects Various Versions
CVE-2026-132825

7.4HIGH

Key Information:

Vendor

Ruby-lang

Status
Vendor
CVE Published:
19 November 2026

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

References

CVSS V3.1

Score:
7.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.