On 18 November 2026, Veria Labs disclosed Ruby2Shell: a one-byte heap overflow in Ruby's string case conversion. CVE-2026-132825 (GHSA-34m4-m9fh-gqp5) scores CVSS 3.1 7.4 High from MITRE CNA; Ruby rates it Critical and publishes no CVSS of its own. Fixed builds shipped the same day: 4.0.10, 3.4.13 and 3.3.14. Veria Labs will publish a proof of concept demonstrating remote code execution on stock Rails on 25 November 2026, or later if major vendors have not shipped a fix by then. As of 20 November 2026 there are no reports of exploitation in the wild and the CVE is not in the CISA KEV catalog (2026-11-18 catalog version).
The bug is a bounds-checking mistake in the case-conversion loop. Most single-byte encodings have no capital sharp s, so upcasing it writes two bytes, SS , but the loop only bounds-checks one. The output buffer is the input length plus 20 bytes, so an input with 21 sharp-s characters overflows the buffer by one byte.…