Your Eyes in the DarkYour Eyes in the Dark — Proactive Intelligence

Zero-Day/Patch

Ruby Patches “Ruby2Shell” Vulnerability That Could Lead to Remote Code Execution

2 min read

Fresh security updates for the Ruby programming language fix seven vulnerabilities in its regular expression engine and in string case conversion. Proof-of-concept (PoC) code demonstrating remote code execution (RCE) exists for five of them.

The main flaw: Ruby2Shell (CVE-2026-132825)
The top vulnerability, CVE-2026-132825 (CVSS 7.4), is a heap-based buffer overflow in string case conversion that could lead to RCE in certain scenarios. It’s been dubbed Ruby2Shell.

How it works
The flaw affects character case-conversion operations. In some single-byte encodings, including ISO-8859-1 and Windows-1252, Ruby may write one byte past the output buffer when changing a string’s case.

As Previdian explains, converting the German character ß to uppercase produces SS. In affected code, Ruby checks that there’s room for one byte but writes two, potentially corrupting adjacent heap memory.

Who is affected

  • Veria Labs reports that in default Ruby configurations, unauthenticated attackers could trigger the flaw from Rails, classic-style Sinatra, and potentially other frameworks.
  • WatchTowr says any Ruby application that changes the case of external text in a single-byte encoding is affected.
  • According to Veria Labs, GitHub Enterprise Server is affected. Chatwoot, GitLab, Mastodon, OpenProject, and the Discourse base image have already patched the bug.

How hard is it to exploit?
WatchTowr’s Yordan Ganchev told SecurityWeek that successful exploitation in production is likely to be challenging. Attackers would need to correctly lay out memory, the right non-glibc memory allocator, specific runtime configuration and application-logic preconditions, and would still have to defeat Address Space Layout Randomization (ASLR). More likely, he said, malformed requests could lead to denial-of-service (DoS) and service disruption.

Veria Labs plans to release a PoC after major vendors have rolled out patches.

The other vulnerabilities
The other four flaws with an RCE PoC include a double free, two integer overflows, and another heap-based buffer overflow. CVE identifiers for these have been requested but not yet assigned. PoC code also exists for an out-of-bounds read demonstrating memory corruption. Ruby also fixed an out-of-bounds read in its regular expression engine that could cause memory leaks and process crashes.

Patched versions
Patches for all seven vulnerabilities are included in Ruby:

  • 4.0.10
  • 3.4.13
  • 3.3.14

Users are advised to apply the fixes as soon as possible.

Get the latest dark web news in your inbox

Ransomware, breaches and exploited vulnerabilities, from The Darkweb News.

Free. No spam. Unsubscribe in one click.

Latest news

China-Linked Armory Castle Exploits VMware vCenter Zero-Day for Admin Access and Data Theft

Zero-Day / Threat Intelligence

The suspected China-nexus cyber espionage group Armory Castle (formerly UNC5221) has been attributed to the zero-day exploitation of a critical flaw in VMware vCenter Server, starting in early September 2026. The vulnerability Tracked as CVE-2026-123890 (CVSS 9.8), the flaw is an authentication bypass in the VMware Directory Service. According to Google Threat Intelligence Group and Mandiant, it’s an unauthenticated Secure Remote Password (SRP-6a) session key disclosure vulnerability over DCE/R

New Unpatched Windows Zero-Day Lets Someone Run Programs on a Locked PC

Zero-Day

A newly disclosed, unpatched zero-day technique called FastUnlock lets someone with physical access to a locked Windows computer start programs without signing in. Whoever uses it gets only a limited account, not administrator control of the machine. Who disclosed it The method was posted by a researcher using the handles MSNightmare and Nightmare Eclipse. Endpoint-security firm ThreatLocker tested it the same day and confirmed it works. There is no fix from Microsoft yet, and nothing shows the

NVIDIA Says Its Systems Weren’t Affected After The Gentlemen Ransomware Claim, Investigates Third-Party Incident

Threat Intelligence

NVIDIA says it has found no indication that its systems or networks were affected after The Gentlemen ransomware group named the company on its data leak site. The leak-site listing The group’s listing includes NVIDIA’s logo and a general description of the chipmaker. It gives no explanation of the alleged attack, and the section about stolen information says details will be provided later. The listing does not establish that NVIDIA was breached or that any of its data was stolen. NVIDIA’s st