Patch Ticker
EnglishEN
Elevated

Ruby string case conversion buffer overflow flaw

CVE-2026-132825

Ruby programs that change text capitalization can be hacked.

CVE
CVE-2026-132825 (opens in a new tab)
Score
CVSS 7.4
First seen
7.4

Mitigation

Update to Ruby 4.0.10, 3.4.13, or 3.3.14 or later. Ruby 3.2 and earlier have no fixed version, so move to a supported release line.

Update to at least the version for your product:

  • Ruby 3.3 3.3.14 or later
  • Ruby 3.4 3.4.13 or later
  • Ruby 4.0 4.0.10 or later

Summary

Ruby has a heap buffer overflow in string case conversion, where one byte can be written outside a buffer. It is one of several flaws that can lead to remote code execution in affected Ruby versions.

Exploit code is public

Affected when

Ruby programs that use string case conversion

Incidents by product: Ruby

All Incidents of 2026-11-19

Distribution packages (18) (every link below opens in a new tab)

Sources: Debian Security Tracker · Ubuntu Security Notices (Canonical) (CC BY-SA 4.0) · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)

Read the write-up · ruby-lang.org (opens in a new tab)