Buffer overflow in Ruby-Lang Ruby
CVE-2026-132825
- CVSS v3
- 7.4 High
- Public exploits
- 6 repositories
- EPSS
- 0.002 · 7.0th percentile
- Published
- 2026-11-19
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 7.0th percentile (last changed ). About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
6 public repositories with exploit or proof-of-concept code for this CVE:
- hackpatato/CVE-2026-132825-poc (last pushed 2026-11-20): CVE-2026-132825 ( ruby2shell ) poc and yara rules
- ashrafzaryouh/CVE-2026-132825 (last pushed 2026-11-20): CVE-2026-132825
- techdevfun/ruby2shell (last pushed 2026-11-20): Is this Ruby exposed to Ruby2Shell (CVE-2026-132825)? Zero-dependency CLI: version + framework + reachability, checked together.
- Mahgal/ruby2shell-check (last pushed 2026-11-20): Answer '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).
- evenomn/CVE-2026-132825 (last pushed 2026-11-20)
- scadastrangelove/ruby2shell (last pushed 2026-11-19): ruby2shell defense tools: Suricata and ModSecurity rules for CVE-2026-132825 (Ruby string case-conversion heap overflow)
References
- news.ycombinator.com/item
- www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-str…
- github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
- bugzilla.suse.com/show_bug.cgi
- github.com/evenomn/CVE-2026-132825
- ubuntu.com/security/CVE-2026-132825
- verialabs.com/ruby2shell/
- github.com/semgrep/detection-scripts/pull/16
- gitlab.com/gitlab-org/omnibus-gitlab/-/commit/8fcf9d6372da3fe553bd21c3beae70634…
- www.openwall.com/lists/oss-security/2026/11/20/5
This CVE has public exploit evidence. See the latest CVEs with public exploits.