CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (8.7) in ruby json. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in json 2.21.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Njson (RubyGems): fixed in 2.21.2Explain CVE-2026-71847 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71847?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71847?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-71847 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 json | >= 2.20.0, < 2.21.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-9hj4-r449-hfvc | RubyGems | json | >=2.20.0 <2.21.2 | 2.21.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | ruby-json | no fix listed | DEBIAN-CVE-2026-71847 |
| Debian | 14 | ruby-json | 2.21.2+dfsg-1 | DEBIAN-CVE-2026-71847 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS and 5 more | ruby-json | no fix listed | UBUNTU-CVE-2026-71847 |
| SUSE | Linux Enterprise High Availability Extension 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24195-1 |
| SUSE | Linux Enterprise High Availability Extension 16.1 | hawk-apiserver | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE | Linux Enterprise High Availability Extension 16.1 | hawk2 | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE | Linux Enterprise Server 16.1, Linux Enterprise Server for SAP applications 16.1 | python-Pillow | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE | Linux Enterprise Server for SAP applications 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24250-1 |
| SUSE | Linux Enterprise Server for SAP applications 16.1 | hawk-apiserver | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24722-1 |
| SUSE | Linux Enterprise Server for SAP applications 16.1 | hawk2 | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24722-1 |
| openSUSE | Leap 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | openSUSE-SU-2026:22068-1 |
| openSUSE | Leap 16.1 | hawk-apiserver | 0.2.4+git.1792406875.6ed758a-160100.1.1 | openSUSE-SU-2026:22305-1 |
| openSUSE | Leap 16.1 | hawk2 | 2.7.2+git.1789128469.a738abc1-160100.1.1 | openSUSE-SU-2026:22305-1 |
| openSUSE | Tumbleweed | hawk2 | 2.7.2+git.1792148770.648dcddb-1.1 | openSUSE-SU-2026:12153-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
This flaw has a Moderate impact. A heap-use-after-free in the Ruby json gem's native C extension can terminate the Ruby process (denial of service) when an application uses the JSON::ResumableParser streaming API and calls partial_value on incomplete, attacker-controlled input containing duplicate object keys. Red Hat products are not affected: the json gem versions shipped are either outside the vulnerable range (2.20.0-2.21.1), or - where an in-range version is present (Red Hat 3scale API Management's zync component, json 2.21.1) - the application only performs standard whole-buffer JSON.parse and never invokes the vulnerable JSON::ResumableParser#partial_value code path. Exploitation requires the specialized resumable/streaming parser API, which is not used by any affected Red Hat product.
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/zync-rhel9 | Not affected |
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-71847.