CVE-2026-132825: Ruby heap-based buffer overflow in case conversion

CVE-2026-132825 · Severity: high · CVSS 7.4 · Published 2026-11-19

Ruby, an interpreted programming language used in many web applications, contains a one-byte heap buffer overflow in string case conversion for single-byte encodings like Windows-1252 and ISO-8859-1. An attacker who can supply a crafted string to an application (for example, through file uploads or form data) can trigger remote code execution. Proof-of-concept exploits demonstrating RCE already exist in the wild.

Technologies: Amazon AWS. Vendors: Amazon, Ruby.

Quick answers

Is CVE-2026-132825 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-132825 being exploited in the wild.
How severe is CVE-2026-132825?
High severity, with a CVSS score of 7.4, published 19 November 2026.
Which products and versions are affected?
Ruby < 3.3.14, 3.4.0 to < 3.4.13, 4.0.0 to < 4.0.10.
Is there a fix for CVE-2026-132825?
Yes: fixed in 3.3.14, 3.4.13, 4.0.10. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-132825 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-132825?
Check whether you run Amazon AWS or Ruby at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.3.14, 3.4.13, 4.0.10

Technical details

A one-byte off-by-one buffer overflow occurs during case conversion of strings in single-byte encodings, particularly when characters like the German ß expand during uppercasing (ß → SS). The vulnerability affects the string conversion routines and requires the attacker to supply a malicious input string to the vulnerable application; no authentication or special privileges are required. Successful exploitation can result in arbitrary code execution on the affected system.

Affected products

  • Ruby Ruby < 3.3.14, 3.4.0 to < 3.4.13, 4.0.0 to < 4.0.10

Timeline

  • 2026-11-19: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.