Ruby patches critical ruby2shell heap overflow (CVE-2026-132825); Cloudflare WAF adds blocking rules
The Ruby team disclosed ruby2shell (CVE-2026-132825) on November 19, 2026, a Critical heap buffer overflow in Ruby's string case conversion that can lead to remote code execution. Fixes shipped in Ruby 3.3.14, 3.4.13 and 4.0.10. Veria Labs reports that Rails and classic-style Sinatra apps reach the bug by default before authentication, and bundled products such as GitLab and Mastodon shipped affected versions. Cloudflare added WAF rules blocking it for all plans but says patching remains necessary.









