home / blog
2026-11-19 · high
CVE-2026-132825: Heap-based buffer overflow in Ruby case conversion
Critical Ruby vulnerability allows buffer overflow in case conversion. Update immediately to patched version.

CVE-2026-132825 refers to a heap-based buffer overflow that occurs during case conversion in Ruby. This flaw allows writing one byte outside a buffer when processing specific characters like ISO-8859-1 or Windows-1252, potentially enabling remote code execution.
With a CVSS score of 7.4, this vulnerability is classified as high severity. It was officially published in the National Vulnerability Database on November 19, 2026. Reports on GitHub indicate the existence of public repositories claiming to contain exploits for this vulnerability, though active exploitation is not confirmed.
IT teams and system administrators should immediately check if their instances use affected Ruby versions (before 3.3.14, 3.4.13, or 4.0.10) and perform updates as soon as possible. Organizations that cannot update immediately should implement mitigations such as untrusted input blocking or isolation of Ruby applications performing case conversions on data from untrusted sources.
At a glance
- What
- Heap-based buffer overflow vulnerability in Ruby during case conversion that allows writing one byte outside a buffer for characters like ISO-8859-1 or Windows-1252.
- Severity
- High (CVSS 7.4)
- Affected versions
- Ruby before versions 3.3.14, 3.4.13, and 4.0.10
- Fix
- Update Ruby to version 3.3.14, 3.4.13, or 4.0.10 or later
- Status
- Published on 2026-11-19
- Action
- Immediately update Ruby instances to patched versions
Sources: NVD, CVE-2026-132825