Skip to content
NewA calmer, faster ZeroHour
StoryVulnerabilityhigh

Ruby patches Ruby2Shell one-byte heap overflow in case conversion

4 sources · 4 articlesFirst reported Updated ()2
What's new

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.

Merged summary · x-ai/grok-4.7 · rewritten as coverage arrivesSummaries by Vani AI

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.

Key facts
  • 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.
Analyze CVE-2026-132825 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Timeline

dated events in the reporting · oldest first
  1. Nov 18, 2026Ruby ships fixes 3.3.14, 3.4.13 and 4.0.10 · Cyber Security News
  2. 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.

Coverage

oldest first · one row per article · UTC
  1. · 1d ago Hacker News · securityFirst report

    Ruby 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.

  2. · 1d ago Cyber Security News

    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.

  3. · 1d ago GBHackers

    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.

  4. · 1h ago SecurityWeek

    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
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-132825
Heap buffer overflow in Ruby case conversion
7.4—