Skip to content
RedCVE

CVE-2026-132825Ruby case conversion heap buffer overflow

ruby-langPublished:

CVSS score

7.4

High

CVSS 3.1 from mitre.org

Exploit probability (EPSS)

1.98%

1.98% chance of exploitation in the next 30 days, higher than 81.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

In plain words

A local attacker who can supply input that gets case-converted by Ruby can write one byte past a heap buffer, which may crash the process or lead to code execution. Ruby versions before 3.3.14, from 3.4.0 to before 3.4.13, and from 4.0.0 to before 4.0.10 are affected. The attack needs local access and high complexity conditions, and no vendor patch reference is listed yet.

Official 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.

Source: NVD · CNA: cve@mitre.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running ruby-lang Ruby and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Ruby to 3.3.14, 3.4.13, 4.0.10 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
ruby-lang Ruby< 3.3.14 · ≥ 3.4.0, < 3.4.13 · ≥ 4.0.0, < 4.0.10

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-132825 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 2.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-132825?

CVE-2026-132825 has a CVSS 3.1 base score of 7.4 (high).

Which versions are affected?

Ruby Lang Ruby (< 3.3.14; ≥ 3.4.0, < 3.4.13; ≥ 4.0.0, < 4.0.10)

Is there a patch for CVE-2026-132825?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.