Skip to main content
Report · SecurityWeekAbout CVE-2026-132825Published

Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE

Source SecurityWeek

0
Compare
Authoritative record:CVE-2026-132825· High 7.4

Not known to be exploited · CVSS 7.4 High · fixed in 4.0.10 : patch Ruby soon.

Data as of 20 Nov 2026, 18:14 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.17.4
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.10, 3.4.13, 3.3.14
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade Ruby and ruby to 4.0.10, 3.4.13 or 3.3.14.

Affected software

ProductAffectedFixed in
ruby-langRubyAffected
  • >=4.0.0 <4.0.10
Fixed in
  • 4.0.10
ruby-langRubyAffected
  • >=3.4.0 <3.4.13
Fixed in
  • 3.4.13
ruby-langRubyAffected
  • <3.3.14
Fixed in
  • 3.3.14
RubyGemsrubypkg:gem/rubyOther threatsAffected
  • <3.3.14
  • >=3.4.0 <3.4.13
  • >=4.0.0 <4.0.10
Fixed in
  • 3.3.14
  • 3.4.13
  • 4.0.10

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix for CVE-2026-132825 is available in Ruby versions 4.0.10, 3.4.13, and 3.3.14. Users and organizations running Ruby applications, especially those processing external text with case conversion in single-byte encodings, should upgrade to these patched versions promptly. No additional mitigation steps are indicated by the vendor advisory beyond applying these official patches.

Description

CVE-2026-132825, known as Ruby2Shell, is a heap-based buffer overflow vulnerability in Ruby's string case conversion functionality. It affects single-byte encodings such as ISO-8859-1 and Windows-1252, where converting certain characters (e.g., German ß to uppercase SS) causes Ruby to write beyond the allocated buffer, potentially corrupting adjacent heap memory. This flaw could lead to remote code execution (RCE) under specific conditions. Exploitation is challenging due to memory layout, allocator, runtime, and ASLR requirements. The vulnerability has been patched in Ruby versions 4.0.10, 3.4.13, and 3.3.14. Users are advised to update to these versions to mitigate the risk.

References

Community reviews

Loading reviews…