CVE-2026-54592
Last modified
CVE-2026-54592 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ohler55 | oj | < 3.17.3 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54592?
How severe is CVE-2026-54592?
How do I fix CVE-2026-54592?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54586mport is the MidnightBSD Package Manager. Prior to 2.7.8, th…6
- CVE-2026-54587mport is the MidnightBSD Package Manager. Prior to 2.7.8, di…5.8
- CVE-2026-54588Poweradmin is a web-based DNS administration tool for PowerD…9.6
- CVE-2026-5459The User Frontend: AI Powered Frontend Posting, User Directo…5.3
- CVE-2026-54590AsyncSSH is a Python package which provides an asynchronous …5.9
- CVE-2026-54591AsyncSSH is a Python package which provides an asynchronous …8.1
- CVE-2026-54593Pterodactyl is a free, open-source game server management pa…8.1
- CVE-2026-54594OmniBlocks is a monorepo for the OmniBlocks project. Prior t…5.3
- CVE-2026-54596ITFlow provides an IT documentation, ticketing and accountin…8.1
- CVE-2026-54597ITFlow provides an IT documentation, ticketing and accountin…8.3
- CVE-2026-54598Wallos is an open-source, self-hostable personal subscriptio…7.5
- CVE-2026-54599Wallos is an open-source, self-hostable personal subscriptio…7.5
Are you affected by CVE-2026-54592?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
