CVE-2026-132825
Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written…
Mitigation
- Upgrade Ruby to 4.0.10 or later.
Who should check
- Anyone running ruby-lang Ruby < 3.3.14; >= 3.4.0, < 3.4.13; >= 4.0.0, < 4.0.10
Vulnerability facts
- Affected
- ruby-lang Ruby < 3.3.14; >= 3.4.0, < 3.4.13; >= 4.0.0, < 4.0.10
- Fixed in
- ruby-lang Ruby 3.3.14, ruby-lang Ruby 3.4.13, ruby-lang Ruby 4.0.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.98% chance of exploitation in 30 days (percentile 81, 2026-11-26)
- CWE
- CWE-122
- Modified
Description
Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ruby-lang Ruby | < 3.3.14; >= 3.4.0, < 3.4.13; >= 4.0.0, < 4.0.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-132825. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-132825.md Affected: ruby-lang Ruby < 3.3.14; >= 3.4.0, < 3.4.13; >= 4.0.0, < 4.0.10 Fixed in: ruby-lang Ruby 3.3.14, ruby-lang Ruby 3.4.13, ruby-lang Ruby 4.0.10 Steps: 1. Search this machine and project for ruby-lang Ruby: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
Patches
Other
- https://news.ycombinator.com/item?id=50554038
- https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
- https://ubuntu.com/security/CVE-2026-132825
- https://bugzilla.suse.com/show_bug.cgi?id=1290919
- https://verialabs.com/ruby2shell/
- https://github.com/evenomn/CVE-2026-132825
- http://www.openwall.com/lists/oss-security/2026/11/20/5
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-6-1-released/
- https://lists.debian.org/debian-lts-announce/2026/11/msg00052.html
FAQ
Is CVE-2026-132825 being exploited?
There is no confirmed exploitation: CVE-2026-132825 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-132825?
High: CVSS 7.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-132825?
ruby-lang Ruby < 3.3.14; >= 3.4.0, < 3.4.13; >= 4.0.0, < 4.0.10.
Is there a fix for CVE-2026-132825?
Yes. Fixed in ruby-lang Ruby 3.3.14, ruby-lang Ruby 3.4.13, ruby-lang Ruby 4.0.10. Upgrade Ruby to 4.0.10 or later.
How do I check if I'm affected by CVE-2026-132825?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.