[From nobody Mon Aug 10 02:05:05 2026
Received: (at submit) by bugs.debian.org; 8 Aug 2026 18:43:00 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,FOURLA,
 FROMDEVELOPER,MD5_SHA1_SUM,NO_RELAYS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 149; neutral, 52; spammy,
 1. spammytokens:0.941-+--H*r:bugs.debian.org
 hammytokens:0.000-+--XDebbugsCc, 0.000-+--X-Debbugs-Cc,
 0.000-+--H*F:U*carnil, 0.000-+--H*Ad:N*Bug, 0.000-+--HTo:N*Debian
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wsm0Z-002jAN-0m
 for submit@bugs.debian.org; Sat, 08 Aug 2026 18:43:00 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: ruby-json: CVE-2026-71847
Message-ID: &lt;178621457823.105376.14294882042561145353.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Sat, 08 Aug 2026 20:42:58 +0200
Delivered-To: submit@bugs.debian.org

Source: ruby-json
Version: 2.21.1+dfsg-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

Hi,

The following vulnerability was published for ruby-json.

CVE-2026-71847[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-71847
    https://www.cve.org/CVERecord?id=CVE-2026-71847
[1] https://github.com/ruby/json/security/advisories/GHSA-9hj4-r449-hfvc
[2] https://github.com/ruby/json/commit/2c332bfe2bfb0e754da07e2a0310ef106bf46482

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
]