Skip to content
NewA calmer, faster ZeroHour

Ruby patches Ruby2Shell flaw that can lead to RCE

Original title: Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE

SecurityWeekby Ionut Arghire ()2 min read1
Part of a story covered by 4 sourcesRuby patches Ruby2Shell one-byte heap overflow in case conversionMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

PoC code demonstrates RCE for five of seven flaws; fixes are in Ruby 4.0.10, 3.4.13 and 3.3.14.

Ruby released updates fixing seven flaws in its regular-expression engine and string case conversion. CVE-2026-132825, dubbed Ruby2Shell and scored 7.4, is a heap buffer overflow that can write one byte past the output buffer in some single-byte encodings. Veria Labs says default configurations could let unauthenticated attackers reach it through Rails or classic Sinatra. WatchTowr says reliable production exploitation is difficult and malformed requests are more likely to cause denial of service.

Unconfirmed: WatchTowr says production RCE is likely difficult; four related CVE identifiers are still unassigned, and GitHub Enterprise Server exposure is Veria Labs’ report.

Key facts
  • Fixes are in Ruby 4.0.10, 3.4.13 and 3.3.14.
  • Four other RCE issues have PoCs but CVE identifiers are not yet assigned.
  • Chatwoot, GitLab, Mastodon, OpenProject and the Discourse base image have patched.
  • Veria Labs says GitHub Enterprise Server is affected and plans a later PoC.
Security assessment · AI, from the articlePublic proof of concept

Impact: Possible remote code execution or denial of service

ProductAffectedFixed in
Ruby—4.0.10, 3.4.13, 3.3.14
What to do
  1. 1.Upgrade Ruby to 4.0.10, 3.4.13, or 3.3.14.
Analyze CVE-2026-132825 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-132825
Heap buffer overflow in Ruby case conversion
7.4—

From the original article

2 min read at securityweek.com

Tracked as CVE-2026-132825, the bug is a heap-based buffer overflow that could lead to remote code execution (RCE). The post Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE appeared first on SecurityWeek.

SecurityWeek

By Ionut Arghire · securityweek.com

Read the full article at SecurityWeek

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.