CVE-2026-132825

7.4High

Published 19 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.4CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
High
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-122

What an attacker gets

Local attackers can trigger a heap-based buffer overflow to potentially execute code or crash the Ruby process. This requires the application to process specifically crafted strings using case conversion methods.

Root cause

A heap-based buffer overflow occurs during string case conversion due to an off-by-one error.

Affected versions

Ruby before 3.3.14, 3.4.13, and 4.0.10.

CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Ruby 3.3.14, 3.4.13, or 4.0.10. If you cannot patch immediately, avoid processing untrusted input with case conversion methods like upcase or downcase.

remediation — bash
$ ruby -v

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-132825