3.7

CVE-2026-54696: Ruby JSON: JSON generator heap buffer overflow when streaming to an IO

Deferred
AliasesRHSA-2026:47932RHSA-2026:48482UBUNTU-CVE-2026-54696
Published 30-06-2026Last modified 01-07-2026

Vulnerability summary

CVE-2026-54696 is a low (CVSS 3.7) Heap-based Buffer Overflow vulnerability in ruby json. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.7/10
010
Low · v3.1 (CVE.org)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 30-06-2026
    PublishedVulnerability first disclosed.
  2. 01-07-2026
    Last modifiedVulnerability information updated.

Description

Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.41% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard42 products
  • cinc-auditor< 7.1.7-r7
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2< 19.2.7-r4
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.2< 19.2.7-r4
Redhat30 products
  • ruby3.4< 0:3.4.10-31.5.hum1
  • ruby3.4-bundled-gems< 0:3.4.10-31.5.hum1
  • ruby3.4-default-gems< 0:3.4.10-31.5.hum1
  • ruby3.4-devel< 0:3.4.10-31.5.hum1
  • ruby3.4-doc< 0:3.4.10-31.5.hum1
Ubuntu8 products
  • jrubyAll versions (No fix recorded)
  • ruby-jsonAll versions (No fix recorded)
  • ruby2.3All versions (No fix recorded)
  • ruby2.5All versions (No fix recorded)
  • ruby2.7All versions (No fix recorded)
Wolfi6 products
  • cinc-auditor< 7.1.7-r7
  • jruby-10.1All versions (No fix recorded)
  • ruby-3.4All versions (No fix recorded)
  • ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesis< 1.19.2.1.1-r6
  • ruby3.2-kube-logging-operator-fluentd-outputs< 6.7.0-r8
Debian1 product
  • ruby-jsonAll versions (No fix recorded) | < 2.19.9+dfsg-1
Ruby1 product
  • json≥ 2.9.0, < 2.19.9
RubyGems1 product
  • json≥ 2.9.0, < 2.19.9

7 vendors · 89 products

References

18 links
Show all 18 references