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

Source: https://junglewise.ai/threats/cve-2026-132825-ruby-before-3-3-14-3-4-13-and-4-0-10-has-a-heap-based-buffer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-19. Updated: 2026-11-19  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon), [Ruby](https://junglewise.ai/threats/vendors/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

- [https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5](https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5)
- [https://news.ycombinator.com/item?id=50554038](https://news.ycombinator.com/item?id=50554038)

## Related threats

- [AWS SDK for PHP S3 Encryption Client GCM authentication tag downgrade](https://junglewise.ai/threats/cve-2026-132607-insufficient-verification-of-data-authenticity-in-the-decryption)
- [PHP multiple vulnerabilities in core and extensions](https://junglewise.ai/threats/php-foundation-security-releases-november-19-2026-b716b638)
- [AWS AutoGluon MultiModal path traversal in dataset tool](https://junglewise.ai/threats/cve-2026-130638-path-traversal-in-the-object-detection-dataset-preparation-tool)
- [NGINX heap buffer overflow in HTTP/2 flow control](https://junglewise.ai/threats/cve-2026-123007-this-issue-affects-nginx-plus-or-nginx-open-source)
- [OpenJDK Base64 Decoder Intrinsic Out-of-Bounds Write Issue](https://junglewise.ai/threats/cve-2026-114938-gcp-2026-082)
