Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-71847: Heap use-after-free in Ruby JSON ResumableParser partial_value

Published Aug 7, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.7High · v4
EPSS0.43%29th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-71847CWE-416 · Use After Free

CVE-2026-71847 is a heap-use-after-free vulnerability in the Ruby JSON native C extension affecting versions 2.20.0 through versions before 2.21.2. JSON::ResumableParser clears its consumed input buffer without invalidating state.start, state.cursor, and state.end, leaving pointers into released storage. When partial_value reconstructs an incomplete object containing duplicate keys, the duplicate-key warning path invokes cursor_position, which dereferences the stale pointers. Attacker-controlled JSON streams can consequently cause the Ruby process to terminate.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can crash the native Ruby process, causing denial of service for the application or worker processing the malicious JSON stream. No code execution, information disclosure, or integrity impact is established.

Mitigation

If you can’t patch tonight, do this now.

Until patched, avoid calling JSON::ResumableParser#partial_value on incomplete attacker-controlled JSON streams. Where feasible, fully buffer and validate untrusted JSON before processing rather than reconstructing partial objects, or disable workflows that expose partial_value to untrusted input. Duplicate object keys are required to trigger the identified vulnerable warning path.

Remediation

Patch, then assume compromise.

Upgrade the RubyGems json package to version 2.21.2 or later. For affected VMware Tanzu deployments, apply the corresponding fixed product release: Telemetry for VMware Tanzu Platform 2.4.13, Platform Services for VMware Tanzu Platform 10.4.5, or the applicable Foundation Core release identified as containing the fix: 3.1.14 or 3.1.16 for ops-manager-azure, or 3.3.5 for ops-manager-vsphere.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-71847 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2026-71847 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-71847?
Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2026-71847.
Is there a patch for CVE-2026-71847?
Upgrade the RubyGems json package to version 2.21.2 or later. For affected VMware Tanzu deployments, apply the corresponding fixed product release: Telemetry for VMware Tanzu Platform 2.4.13, Platform Services for VMware Tanzu Platform 10.4.5, or the applicable Foundation Core release identified as containing the fix: 3.1.14 or 3.1.16 for ops-manager-azure, or 3.3.5 for ops-manager-vsphere.
How severe is CVE-2026-71847?
CVE-2026-71847 has a CVSS v4 score of 8.7 (High) and an EPSS score of 0.43% (29th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.