Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE
Source SecurityWeek
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
Thin evidence
One scorer or none| CNA (mitre) | CVSS 3.1 | 7.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:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| ruby-langRuby | Affected
| Fixed in
|
| ruby-langRuby | Affected
| Fixed in
|
| ruby-langRuby | Affected
| Fixed in
|
RubyGemsrubypkg:gem/rubyOther threats | Affected
| Fixed in
|
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.