CVE-2026-132825
Received Received - Intake

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer…

Vulnerability report for CVE-2026-132825, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
ruby-lang Ruby From 0 (inc) to 3.3.14 (exc)
ruby-lang Ruby From 3.4.0 (inc) to 3.4.13 (exc)
ruby-lang Ruby From 4.0.0 (inc) to 4.0.10 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap-based buffer overflow in Ruby's case conversion of strings, specifically affecting single-byte encodings like ISO-8859-1 and Windows-1252. It allows writing one byte past the end of the output buffer when modifying a string's case, potentially leading to remote code execution (RCE).

Detection Guidance

Detecting this vulnerability requires checking Ruby version and inspecting code for case conversion operations on strings using ISO-8859-1 or Windows-1252 encodings. Use 'ruby -v' to check version. If vulnerable, upgrade immediately.

Impact Analysis

The vulnerability can allow attackers to execute arbitrary code on your system by exploiting the buffer overflow during string case conversion. This could lead to unauthorized access, data theft, or system compromise if the Ruby application processes untrusted input.

Mitigation Strategies

Upgrade Ruby to patched versions: 3.3.14, 3.4.13, or 4.0.10. If using end-of-life versions (3.2 or earlier), migrate to a supported release. Apply patches from Ruby's official sources.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-132825. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...