Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE
Ruby has patched seven vulnerabilities, five with proof-of-concept code demonstrating remote code execution — the most serious, ‘Ruby2Shell’ (CVE-2026-132825, CVSS 7.4), is a one-byte heap overflow in string case conversion (for example ß becoming SS) in single-byte encodings, which Veria Labs says unauthenticated attackers can trigger from Rails and Sinatra applications in default configurations, though researchers caution that reliable exploitation is difficult and denial of service is the likelier outcome. Fixes are in Ruby 4.0.10, 3.4.13 and 3.3.14, and GitLab, Mastodon, Discourse and other major projects have already patched.