Red Hat VEX
RHVEX-CVE-2026-132825
ruby: ruby: Heap-based buffer overflow via string case conversion
Details
A flaw was found in Ruby. This vulnerability may allow arbitrary code execution or a Denial of Service (DoS) due to a heap-based buffer overflow during string case conversions. An attacker who supplies specially crafted text containing specific character encodings can trigger an out-of-bounds write of a single byte into adjacent memory, potentially corrupting application memory or causing the process to crash.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | ruby | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-irb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-rdoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-ri | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-tcltk | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2026-132825
- https://bugzilla.redhat.com/show_bug.cgi?id=2576211
- https://access.redhat.com/security/vulnerabilities/RHSB-2026-021
- https://www.cve.org/CVERecord?id=CVE-2026-132825
- https://nvd.nist.gov/vuln/detail/CVE-2026-132825
- https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
- https://news.ycombinator.com/item?id=50554038
- https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/