7.5

CVE-2026-54592: ohler55 oj Out-of-bounds Read

CVSS: 7.5v3.1HighDeferred
AliasesUBUNTU-CVE-2026-54592DEBIAN-CVE-2026-54592CGA-29rf-v244-hf86
Published 30-06-2026Last modified 01-07-2026

Vulnerability summary

CVE-2026-54592 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in ohler55 oj. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.3, Oj::Doc#each_child, when invoked recursively over a deeply nested JSON document, overflows a fixed-size stack buffer and aborts the process, leading to DoS. In a two-step chain in ext/oj/fast.c, doc_each_child increments doc->where past the where_path[MAX_STACK = 100] array with no bounds check and never restores it (the doc->where-- is missing), so calling each_child recursively from inside the yield block drives doc->where beyond the array. On the next entry the function copies the path into the 800-byte stack-local buffer save_path[MAX_STACK] using wlen = doc->where - doc->where_path, so when the previous recursive call left doc->where past where_path[100] the wlen exceeds MAX_STACK and the memcpy overflows save_path on the C stack; because the Oj::Doc parser imposes no JSON nesting-depth limit (relying on a C-stack pressure check), deeply nested attacker input reaches this path. This issue has been fixed in version 3.17.3.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

0.00 pp

From 0.28% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard28 products
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-18.5All versions (No fix recorded)
  • gitlab-rails-ce-18.6All versions (No fix recorded)
  • gitlab-rails-ce-18.7All versions (No fix recorded)
  • gitlab-rails-ce-18.8All versions (No fix recorded)
Wolfi6 products
  • ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesis< 1.19.2.1.1-r5
  • ruby3.2-kube-logging-operator-fluentd-outputs< 6.7.0-r4
  • ruby3.3-fluentd-kubernetes-daemonset-1.19-kinesis< 1.19.3.1.0-r0
  • ruby3.4-fluentd-kubernetes-daemonset-1.19-kinesis< 1.19.3.1.0-r0
  • ruby3.4-kube-logging-operator-fluentd-outputs< 6.7.0-r4
Debian1 product
  • ruby-oj< 3.14.2-1+deb12u1 | < 3.16.3-1+deb13u1 | < 3.17.3-1
Ohler551 product
  • oj< 3.17.3
RubyGems1 product
  • oj< 3.17.3
Ubuntu1 product
  • ruby-ojAll versions (No fix recorded)

6 vendors · 38 products

References

7 links