Threat Radar
Aranis
IntelNews
EXCLUSIVE DEEP DIVEAltoScore 85/100
November 20, 2026•2 min read

Ruby releases patches fixing Ruby2Shell vulnerability that could enable RCE

Ruby has issued updates that fix seven flaws, notably a heap‑based buffer overflow in string case conversion (CVE‑2026‑132825) that could allow remote code execution. Proof‑of‑concept code is available for five of the issues, while four remain without assigned CVEs. The patches are part of Ruby 4.0.10, 3.4.13 and 3.3.14 releases and should be applied promptly.

Aranis IntelNews - Ruby lança atualizações que corrigem vulnerabilidade Ruby2Shell com risco de RCE

Recent security patches for the Ruby programming language address a batch of seven flaws located in both the regular‑expression engine and the string case‑conversion routine. The most severe issue is identified as CVE‑2026‑132825, receiving a CVSS score of 7.4; it is a heap‑based buffer overflow that manifests when converting text in single‑byte encodings such as ISO‑8859‑1 or Windows‑1252. In the affected code path, Ruby checks for enough space for one extra byte but ends up writing two, potentially corrupting adjacent heap memory and opening a path to remote code execution under certain conditions. The bug, dubbed Ruby2Shell, has been illustrated with a proof‑of‑concept that shows the German character ß expanding to “SS” during uppercase conversion.

Public confirmation of successful exploitation in live deployments is still lacking. While proof‑of‑concept code exists for five of the vulnerabilities, four of them have yet to receive official CVE identifiers. Analysts note that a realistic attack would require a very specific memory layout, a non‑glibc allocator, particular runtime settings and the ability to bypass address‑space‑layout randomization (ASLR). Consequently, the most probable outcome of an attempted exploit is a malformed request that triggers denial‑of‑service conditions rather than full system compromise.

Security researchers from Veria Labs and WatchTowr warned that, with default Ruby configurations, unauthenticated attackers could trigger the flaw through popular frameworks such as Rails, classic‑style Sinatra, and potentially other applications that manipulate external text in single‑byte encodings. The vulnerability has been linked to GitHub Enterprise Server, and open‑source projects including Chatwoot, GitLab, Mastodon, OpenProject and the Discourse base image have already incorporated the fixes. Ruby’s maintainers bundled the patches into versions 4.0.10, 3.4.13 and 3.3.14, covering all seven reported issues.

Operators of Ruby‑based services are strongly advised to upgrade to one of the patched releases without delay. An additional out‑of‑bounds read flaw in the regular‑expression engine, also fixed, could lead to memory leaks and process crashes, increasing the chance of service disruption. Keeping the runtime current markedly shrinks the attack surface and helps prevent interruptions or compromise stemming from these still‑largely unexploited bugs.

Why it matters for your organization

CISOs should verify that all Ruby runtimes have been upgraded to the patched releases and review any applications performing case conversion on single‑byte encodings such as ISO‑8859‑1 or Windows‑1252.

Original source: SecurityWeek

Recommended by Similarity

Related Content

Recommended by topic similarity, tags and risk vectors of this article

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems
Crítico90/100
Palo Alto Unit 42

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems

Unit 42 discovered a Python‑based remote‑access trojan that leverages large‑language models to orchestrate attacks without operator input. The malware talks to a Telegram bot, calls the OpenRouter API and includes an undisclosed component that may target industrial control environments. Its version history reveals a rapid increase in capabilities, suggesting AI‑assisted code generation.

2 min
WhatsApp forces logout of iPhone users on legacy iOS
Crítico90/100
Help Net Security

WhatsApp forces logout of iPhone users on legacy iOS

Meta announced that WhatsApp will automatically sign out accounts on iPhones running outdated iOS versions. The logout is triggered when the device shows evidence of compromise from a web‑based exploit, and re‑access is only possible after updating the OS.

2 min
German public transport ticketing apps offline for nearly a week after suspected cyberattack
Crítico90/100
The Record

German public transport ticketing apps offline for nearly a week after suspected cyberattack

A German tech vendor reported a security incident that disabled several public‑transport ticketing applications for almost a week. Riders in regions such as Berlin, Brandenburg, Bielefeld, Dresden and Mainz were unable to buy, renew or view tickets. The attacker’s identity and any data exposure remain uncertain.

2 min