Skip to content
NewA calmer, faster ZeroHour
StoryVulnerabilityhigh

Ruby patches Ruby2Shell heap overflow and six related flaws

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

First merged summary.

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

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.

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

Timeline

dated events in the reporting · oldest first
  1. Nov 19, 2026Ruby disclosed Ruby2Shell and related memory-safety fixes. · Cloudflare Blog
  2. Nov 19, 2026Ubuntu published truncated USN-9176-1 on Ruby flaws. · Ubuntu Security Notices
  3. Nov 20, 2026USN-9176-2 covers Ubuntu 16.04, 18.04, and 20.04 LTS. · Ubuntu Security Notices
  4. 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.

Coverage

oldest first · one row per article · UTC
  1. · 6d ago Ubuntu Security NoticesFirst report

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

  2. · 6d 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.

  3. · 6d ago Ubuntu Security Notices

    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.

  4. · 5d ago Cloudflare Blog

    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
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-132825
Heap buffer overflow in Ruby case conversion
7.42%PoC ×2