Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-71847

published high CVSS 4.0 · 8.7

Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams

Published
07 Aug 2026, 18:31:28 UTC
Updated
07 Aug 2026, 21:02:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ruby — json>= 2.20.0, < 2.21.2 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
SUSE / openSUSE SLE-16 hawk-apiserveraarch64 Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk-apiserverppc64le Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk-apiserverppc64le Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24722-1
SUSE / openSUSE SLE-16 hawk-apiservers390x Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk-apiserverx86_64 Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24712-1
Show 36 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 hawk-apiserverx86_64 Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24722-1
SUSE / openSUSE SLE-16 hawk2aarch64 Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk2ppc64le Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24195-1
SUSE / openSUSE SLE-16 hawk2ppc64le Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24250-1
SUSE / openSUSE SLE-16 hawk2ppc64le Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk2ppc64le Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24722-1
SUSE / openSUSE SLE-16 hawk2s390x Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24195-1
SUSE / openSUSE SLE-16 hawk2s390x Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk2x86_64 Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24195-1
SUSE / openSUSE SLE-16 hawk2x86_64 Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24250-1
SUSE / openSUSE SLE-16 hawk2x86_64 Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 hawk2x86_64 Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24722-1
SUSE / openSUSE SLE-16 python313-Pillowaarch64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillowppc64le Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillows390x Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillowx86_64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillow-tkaarch64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillow-tkppc64le Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillow-tks390x Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE SLE-16 python313-Pillow-tkx86_64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
SUSE / openSUSE openSUSE-Leap-16.0 hawk2aarch64 Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 OPENSUSE-SU-2026:22068-1
SUSE / openSUSE openSUSE-Leap-16.0 hawk2ppc64le Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 OPENSUSE-SU-2026:22068-1
SUSE / openSUSE openSUSE-Leap-16.0 hawk2s390x Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 OPENSUSE-SU-2026:22068-1
SUSE / openSUSE openSUSE-Leap-16.0 hawk2x86_64 Advisory build 2.7.2+git.1788518533.7d4dadd6-160000.1.1 OPENSUSE-SU-2026:22068-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk-apiserveraarch64 Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk-apiserverppc64le Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk-apiservers390x Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk-apiserverx86_64 Advisory build 0.2.4+git.1792406875.6ed758a-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk2aarch64 Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk2ppc64le Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk2s390x Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Leap-16.1 hawk2x86_64 Advisory build 2.7.2+git.1789128469.a738abc1-160100.1.1 OPENSUSE-SU-2026:22305-1
SUSE / openSUSE openSUSE-Tumbleweed hawk2aarch64 Advisory build 2.7.2+git.1792148770.648dcddb-1.1 OPENSUSE-SU-2026:12153-1
SUSE / openSUSE openSUSE-Tumbleweed hawk2ppc64le Advisory build 2.7.2+git.1792148770.648dcddb-1.1 OPENSUSE-SU-2026:12153-1
SUSE / openSUSE openSUSE-Tumbleweed hawk2s390x Advisory build 2.7.2+git.1792148770.648dcddb-1.1 OPENSUSE-SU-2026:12153-1
SUSE / openSUSE openSUSE-Tumbleweed hawk2x86_64 Advisory build 2.7.2+git.1792148770.648dcddb-1.1 OPENSUSE-SU-2026:12153-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ruby json >= 2.20.0, < 2.21.2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-416 CWE-416: Use After Free (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8f67267245f8210326b2eb555ed19a4e5220630df4b80db5a4ccd94d6ed34ffb
Ingested
23 Sep 2026, 09:29:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected