Ruby patches Ruby2Shell heap overflow and six related flaws
First merged summary.
Ruby fixed Ruby2Shell and six related flaws in 4.0.10, 3.4.13, and 3.3.14; exploitation difficulty remains disputed.
Ruby released 4.0.10, 3.4.13, and 3.3.14 fixing seven regular-expression and string case-conversion flaws, including CVE-2026-132825, called Ruby2Shell and scored 7.4. It is a heap buffer overflow that can write one byte past the output buffer in some single-byte encodings; UTF-8 strings are unaffected. Veria Labs says default Rails and classic Sinatra apps can reach it before authentication, while WatchTowr says reliable production exploitation is difficult and malformed requests are likelier to cause denial of service. SecurityWeek says proof-of-concept code shows remote code execution for five of the seven flaws. Cloudflare added blocking WAF rules but says upgrading is the only complete fix, and Ubuntu issued USN-9176 updates for 16.04, 18.04, and 20.04 LTS.
- Affected ranges are Ruby 3.3.13 and earlier, 3.4.0–3.4.12, and 4.0.0–4.0.9.
- Ruby 3.2 and earlier are end of life and will not be fixed.
- Four other RCE issues have proofs of concept; CVE identifiers are unassigned.
- Chatwoot, GitLab, Mastodon, OpenProject, and the Discourse base image have patched.
- Case conversion is GHSA-34m4-m9fh-gqp5; large regex compilation is GHSA-3p8q-wmhx-vm2w.
- Cloudflare says its Ruby systems are patched and found no compromise.
Timeline
dated events in the reporting · oldest first- Nov 19, 2026Ruby disclosed Ruby2Shell and related memory-safety fixes. · Cloudflare Blog
- Nov 19, 2026Ubuntu published truncated USN-9176-1 on Ruby flaws. · Ubuntu Security Notices
- Nov 20, 2026USN-9176-2 covers Ubuntu 16.04, 18.04, and 20.04 LTS. · Ubuntu Security Notices
- Nov 20, 2026Cloudflare added blocking WAF rules for Ruby2Shell. · Cloudflare Blog
What each outlet adds
beyond the shared facts- SecurityWeekReports PoCs for five flaws, WatchTowr’s difficulty assessment, and patched apps.
- Cloudflare BlogGives affected ranges, WAF deployment, and no indication of compromise.
- Ubuntu Security NoticesMaps two issues to GHSA identifiers and older Ubuntu LTS updates.
- CVEs
- CVE-2026-132825
Coverage
oldest first · one row per article · UTCUbuntu notice USN-9176-1 covers Ruby denial-of-service and code-execution flaws
The truncated notice cites string case conversion and regular-expression handling bugs that might crash Ruby or run code.
Ruby patches Ruby2Shell flaw that can lead to RCE
PoC code demonstrates RCE for five of seven flaws; fixes are in Ruby 4.0.10, 3.4.13 and 3.3.14.
Ubuntu backports Ruby fixes to 16.04, 18.04, and 20.04 LTS
The notice covers string case conversion and large regex compilation flaws that could allow denial of service or code execution.
Ruby heap overflow ruby2shell can yield remote code execution (CVE-2026-132825)
Default Rails and classic Sinatra apps reach the bug before authentication; fixes are Ruby 3.3.14, 3.4.13 and 4.0.10.
Vulnerabilities in this story
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-132825 | Heap buffer overflow in Ruby case conversion | 7.4 | 2% | PoC ×2 |