Skip to content
GHSA-34m4-m9fh-gqp5

GHSA-34m4-m9fh-gqp5

github.com • November 19, 2026

Ruby has a one-byte heap-based buffer overflow in the case conversion of strings. Changing the case of a crafted string may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios.

A CVE ID has been requested and is pending.

When changing the case of a string in some single-byte encodings, such as ISO-8859-1 and Windows-1252, Ruby could write one byte past the end of the output buffer.

This is a heap-based buffer overflow that may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. Applications should upgrade.

Upgrade to Ruby 3.3.14, 3.4.13 or 4.0.10.

Thanks to Stephan Lipp (Ada Logics) and Anthropic for reporting this issue.

Extracted Entities

Attack Types (1)

Vulnerabilities (1)