PatchSiren cyber security CVE debrief
CVE-2026-71847 ruby CVE debrief
CVE-2026-71847: Ruby JSON Heap-Use-After-Free Vulnerability. This high-severity vulnerability affects Ruby JSON versions 2.20.0 through 2.21.1, potentially leading to process termination via a heap-use-after-free exploit when processing incomplete JSON with duplicate keys. Defenders should assess exposure, prioritize remediation, and monitor for potential attacks. The vulnerability occurs when the JSON::ResumableParser input buffer is cleared, but state pointers remain, leading to a potential crash.
- Vendor
- ruby
- Product
- json
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-07
- Original CVE updated
- 2026-09-18
- Advisory published
- 2026-08-07
- Advisory updated
- 2026-09-18
Who should care
Defenders responsible for Ruby applications using the JSON library, particularly those processing JSON data from untrusted sources, should assess exposure and prioritize remediation of this vulnerability.
Why it matters
CVE-2026-71847 is a high-severity vulnerability in Ruby JSON that can lead to process termination. Defenders should assess exposure, prioritize remediation, and monitor for potential attacks.
- Process termination via heap-use-after-free exploit
- Potential for denial-of-service (DoS) attacks
- Need for verification of affected versions and remediation
Technical summary
CVE-2026-71847 is a heap-use-after-free vulnerability in Ruby JSON versions 2.20.0 through 2.21.1. The vulnerability occurs when the JSON::ResumableParser input buffer is cleared, but state pointers remain, leading to a potential crash when processing incomplete JSON with duplicate keys. This can result in process termination and potential denial-of-service (DoS) attacks. Defenders should prioritize assessment and remediation of this vulnerability, as it can lead to process termination via a heap-use-after-free exploit.
Defensive priority
Defenders should prioritize assessment and remediation of this vulnerability in Ruby JSON versions 2.20.0 through 2.21.1, as it can lead to process termination via a heap-use-after-free exploit.
Recommended defensive actions
- Assess exposure to CVE-2026-71847 in Ruby JSON versions 2.20.0 through 2.21.1
- Prioritize remediation of vulnerable Ruby JSON versions
- Monitor for JSON stream data from untrusted sources
- Verify vendor-provided patches and update to version 2.21.2 or later
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected versions. However, the corpus does not provide information on known exploitation or specific attack vectors.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-71847 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-71847
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-71847 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-71847
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/ruby/json/security/advisories/GHSA-9hj4-r449-hfvc
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.