Ruby patches Ruby2Shell one-byte heap overflow in case conversion
November 20: SecurityWeek reports CVE-2026-132825 scored 7.4, WatchTowr calling production RCE difficult and denial of service likelier, and several bundled products patched.
Ruby 3.3.14, 3.4.13 and 4.0.10 fix Ruby2Shell; CVE-2026-132825 is assigned and several vendors have patched.
Ruby fixed a one-byte heap overflow in case conversion for some legacy single-byte encodings, present since Ruby 2.4.0 and dubbed Ruby2Shell. Veria Labs says default Rails and classic-style Sinatra can reach it before authentication; UTF-8 and plain Rack are not exposed by default. Fixes shipped November 18 as 3.3.14, 3.4.13 and 4.0.10 for 3.3.0–3.3.13, 3.4.0–3.4.12 and 4.0.0–4.0.9. Ruby 3.2 and older are end of life. SecurityWeek identifies the flaw as CVE-2026-132825, scored 7.4. Maintainers say proofs of concept have shown code execution in some scenarios, not every overflow; WatchTowr, cited by SecurityWeek, says reliable production exploitation is difficult and denial of service is more likely. The disclosure did not report active exploitation.
- Advisory GHSA-34m4-m9fh-gqp5; SecurityWeek cites CVE-2026-132825, scored 7.4.
- Fixed versions: Ruby 3.3.14, 3.4.13 and 4.0.10, shipped November 18.
- UTF-8 uses a separate path and does not trigger this flaw.
- Named bundles included GitLab 19.6.0, GitHub Enterprise Server 3.22.5, Mastodon 4.7.5 and others.
- SecurityWeek says Chatwoot, GitLab, Mastodon, OpenProject and Discourse’s base image patched.
- Veria Labs still planned a later proof of concept; no active exploitation was reported.
Timeline
dated events in the reporting · oldest first- Nov 18, 2026Ruby ships fixes 3.3.14, 3.4.13 and 4.0.10 · Cyber Security News
- Nov 19, 2026Veria Labs discloses Ruby2Shell before authentication on Rails · GBHackers
What each outlet adds
beyond the shared facts- Hacker NewsOverflow mechanics and specific bundled Ruby versions in named products.
- Cyber Security NewsMaintainers say code execution shown in some scenarios, not always.
- GBHackersPlain Rack not exposed by default; no active exploitation reported.
- SecurityWeekCVE-2026-132825 score 7.4, WatchTowr assessment, and vendor patches.
- CVEs
- CVE-2026-132825
Coverage
oldest first · one row per article · UTCRuby sharp-s upcase bug enables pre-authentication RCE on default Rails
Ruby 3.3.14, 3.4.13 and 4.0.10 fix a one-byte heap overflow; a proof of concept is due in a week.
ruby2shell one-byte Ruby overflow can allow remote code execution
Veria Labs says default Rails and classic Sinatra can reach the case-conversion bug without login.
Ruby2Shell heap overflow can give unauthenticated RCE on Rails and Sinatra
Ruby 3.3.14, 3.4.13, and 4.0.10 fix the flaw; Veria Labs reported no active exploitation and plans a PoC in a week.
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.
Vulnerabilities in this story
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-132825 | Heap buffer overflow in Ruby case conversion | 7.4 | — |