CVSS 3.1
7.4 highCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HKnown as Ruby2Shell
High (7.4) in ruby-lang ruby. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-132825 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-132825?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-132825?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-132825 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ruby-lang Ruby | before 3.3.14 |
| ruby-lang Ruby | from 3.4.0 before 3.4.13 |
| ruby-lang Ruby | from 4.0.0 before 4.0.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby3.1 | 3.1.7-1~deb12u2 | DEBIAN-CVE-2026-132825 DLA-4926-1 |
| Debian | 13 | ruby3.3 | 3.3.14-0+deb13u1 | DEBIAN-CVE-2026-132825 DSA-6644-1 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2026-132825 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 1 more | jruby | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | 22.04:LTS | ruby3.0 | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | 24.04:LTS | jruby, ruby3.2 | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | 26.04:LTS, 26.10 | jruby, ruby3.3 | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | no fix listed | UBUNTU-CVE-2026-132825 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | no fix listed | UBUNTU-CVE-2026-132825 |
| Azure Linux | 3 | fluent-bit | no fix listed | AZL-115796 |
| Azure Linux | 3 | ruby | no fix listed | AZL-114635 |
| Alpaquita | 23, stream | ruby | no fix listed | BELL-CVE-2026-132825 |
| Alpaquita | 25 | ruby | 3.4.13-r0 | BELL-CVE-2026-132825 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.
Red Hat rates this Critical.
This vulnerability is rated as Critical severity because successful exploitation can result in memory corruption or arbitrary code execution within the context of the running Ruby process. While heap memory corruption carries significant integrity and availability risks, successful attacks depend on complex memory layout manipulation and the application converting strings under specific non-UTF-8 character encodings. Most standard deployments process UTF-8 encoded text by default, which restricts exposure under typical configurations.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Affected | |
| Red Hat Enterprise Linux 10 | pcs | Affected | |
| Red Hat Enterprise Linux 10 | ruby | Affected | |
| Red Hat Enterprise Linux 10 | ruby4.0 | Affected | |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 7 | pcs | Affected | |
| Red Hat Enterprise Linux 7 | ruby | Affected | |
| Red Hat Enterprise Linux 8 | pcs | Affected | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Affected | |
| Red Hat Enterprise Linux 8 | ruby:3.3/ruby | Affected | |
| Red Hat Enterprise Linux 9 | pcs | Affected | |
| Red Hat Enterprise Linux 9 | ruby | Affected | |
| Red Hat Enterprise Linux 9 | ruby:3.3/ruby | Affected | |
| Red Hat Enterprise Linux 9 | ruby:4.0/ruby | Affected | |
| Red Hat Hardened Images | ruby3.3 | Affected | |
| Red Hat Hardened Images | ruby3.4 | Affected | |
| Red Hat Hardened Images | ruby4.0 | Affected | |
| 31 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-132825.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.