PT-2026-69102

CVE-2026-71847

·

Published

2026-08-07

·

Updated

2026-10-23

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Ruby JSON versions 2.20.0 through 2.21.1
Description Ruby's JSON native C extension contains a heap-use-after-free issue. The JSON::ResumableParser clears its input buffer but fails to reset the state.start, state.cursor, and state.end pointers, leaving them pointing to released storage. When the partial value() function reconstructs an incomplete object containing duplicate keys, the duplicate-key warning path triggers the cursor position() function, which dereferences these stale pointers. An attacker providing a JSON stream with duplicate object keys to an application using JSON::ResumableParser can cause the Ruby process to terminate, leading to a denial of service.
Recommendations Update Ruby JSON to version 2.21.2. As a temporary mitigation, avoid using the partial value() function on incomplete input that may contain duplicate object keys.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-9HJ4-R449-HFVC
OPENSUSE-SU-2026:12153-1
OPENSUSE-SU-2026:22068-1
SUSE-SU-2026:24195-1
SUSE-SU-2026:24250-1
Found an issue in the description? Have something to add? Feel free to write us 👾