patchminder
Proof of concept · GitHub CVE-2026-132825

Buffer overflowin ruby-lang Ruby.

Published 19 Nov 2026 · Updated 21 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 3.3.14, 3.4.13, 4.0.10
In plain words

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.

What to do now
  • Upgrade Ruby to 3.3.14, 3.4.13, 4.0.10 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Ruby
before 3.3.14
3.3.14
CVE record
Ruby
3.4.0 to before 3.4.13
3.4.13
CVE record
Ruby
4.0.0 to before 4.0.10
4.0.10
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Nov 2026
    CVE ID reserved by mitre.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 19 Nov 2026
    First public proof of concept on GitHub.
  4. 21 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
7 repositories
GitHubno warning signs foundevenomn/CVE-2026-1328251 stars · created 20 Nov 2026PoC for CVE-2026-132825: 1-byte heap buffer overflow in Ruby string case conversion (upcase, ISO-8859-1 ß). Crashes ASAN builds and corrupts the adjacent chunk header on glibc. Affects Ruby < 3.3.14
GitHubno warning signs foundscadastrangelove/ruby2shell0 stars · created 19 Nov 2026ruby2shell defense tools: Suricata and ModSecurity rules for CVE-2026-132825 (Ruby string case-conversion heap overflow)
GitHubno warning signs foundMahgal/ruby2shell-check0 stars · created 20 Nov 2026Answer 'am I exposed to Ruby2Shell?' in one command · check your Ruby version, framework reachability and self-hosted product version against CVE-2026-132825 (disclosed 2026-11-18, HN #1 2026-11-20)
GitHubno warning signs foundtechdevfun/ruby2shell0 stars · created 20 Nov 2026Is this Ruby exposed to Ruby2Shell (CVE-2026-132825)? Zero-dependency CLI: version + framework + reachability, checked together.
GitHubno warning signs foundachrafzaryouh/CVE-2026-1328250 stars · created 20 Nov 2026CVE-2026-132825
GitHubno warning signs foundhackpatato/CVE-2026-132825-poc0 stars · created 20 Nov 2026CVE-2026-132825 ( ruby2shell ) poc and yara rules
GitHubno warning signs foundgooglesky/CVE-2026-1328250 stars · created 24 Nov 2026Ruby2Shell CVE-2026-132825: case_map checks one byte of output room but sharp-s 0xDF expands to two bytes · one-byte heap overflow. Verbatim loop guard from d582f8f^ vs fix with ASan: OOB write on v

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Ruby vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-132825: Buffer overflow in ruby-lang Ruby. https://patchminder.com/cve/cve-2026-132825/ (accessed 5 December 2026).