CVE-2026-71847

ruby-json: Ruby JSON is a JSON implementation for Ruby

CVE-2026-71847 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-71847, released August 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0043
37th percentile

Ruby JSON is a JSON implementation for Ruby. From 2.20.0 until 2.21.2, Ruby's JSON native C extension clears the consumed JSON::ResumableParser input buffer but leaves state.start, state.cursor, and state.end pointing into released storage. When partial_value reconstructs an incomplete object containing duplicate keys, the duplicate-key warning path calls cursor_position, which dereferences those stale pointers. This results in a heap-use-after-free and can terminate the Ruby process. An attacker who can supply JSON stream data to an application using JSON::ResumableParser may cause process termination when the application calls partial_value on incomplete attacker-controlled input containing duplicate object keys. This issue has been fixed in version 2.21.2.

Where it's fixed

ProductFixed inFixReleased
Linux
hawk2 · opensuse-leap 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1 OPENSUSE-SU-2026:22068-1 Nov 7, 2026
hawk2 · sles 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24195-1 Nov 7, 2026
ruby-json · Debian 14 2.21.2+dfsg-1 DEBIAN-CVE-2026-71847 Aug 13, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.