CVE-2026-132825
CVE-2026-132825 is a heap overflow in ruby-lang Ruby (CVSS 7.4, High).
No known exploitation. EPSS puts it in the 81st percentile. Fixed versions are out.
No public exploit knownFix1 product3 fixed builds listed below
No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.
What to do
Find your product and version, then upgrade to the build on the right.
- ruby-lang RubyAffected: < 3.3.14Upgrade to: 3.3.14Affected: ≥ 3.4.0, < 3.4.13Upgrade to: 3.4.13Affected: ≥ 4.0.0, < 4.0.10Upgrade to: 4.0.10Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check which Ruby version your application or servers run (
ruby -v). - Confirm whether your code processes text using ISO-8859-1, Windows-1252, or similar legacy encodings during case conversion (e.g.,
.upcase,.downcase,.capitalize). - Upgrade to Ruby 3.3.14, 3.4.13, or 4.0.10 depending on which branch you use.
- Re-test your application after upgrading to confirm stability.
- If you can't upgrade immediately, avoid case-conversion operations on untrusted text in these legacy encodings until patched.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordA bug in the Ruby programming language can corrupt memory when converting text case for certain legacy character sets, but there's no evidence anyone is actively exploiting it, so it's worth fixing soon without panicking.
CWE-122 heap-based buffer overflow in Ruby's case-conversion routine writes one byte past buffer bounds when processing certain non-UTF-8 encodings (e.g., ISO-8859-1, Windows-1252), requiring local access with no privileges to trigger.
If you're affected
- Application crashes
- Data corruption risk
- Service instability
- Potential code execution path
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
2.0% chance of exploitation activity in the next 30 days, which ranks it in the 81st percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
10 events over 2 days, from the signal feeds we watch.
- Record updated
- Record updatedrecord updated, record updated
- Publishedweakness classified, att&ck mapped, record updated, record updated, record updated
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 7.4 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
- news.ycombinator.com/item?id=50554038
- ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
And 9 more references. See all after sign-in
In the news
Questions about CVE-2026-132825
- Is CVE-2026-132825 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.0%.
- Which versions are affected by CVE-2026-132825?
- Ruby: < 3.3.14; ≥ 3.4.0, < 3.4.13; ≥ 4.0.0, < 4.0.10.
- How do I fix or mitigate CVE-2026-132825?
- Upgrade to a fixed build for your product branch: 3.3.14, 3.4.13, 4.0.10.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Ruby, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI