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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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-54574proot-distro is a utility for managing proot containers. Pri…8.2
- CVE-2026-5458A weakness has been identified in Noelse Individuals & Pro A…3.3
- 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-5460A heap use-after-free exists in wolfSSL's TLS 1.3 post-quant…6.5
- CVE-2026-54601FastGPT is an open source AI knowledge base platform. From 4…6.3
- CVE-2026-54602FastGPT is a knowledge-based AI application platform. Prior …7.1
- CVE-2026-54603OAuth2 is a Ruby wrapper for the OAuth 2.0 and 2.1 authoriza…8.6
- CVE-2026-54605OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols…7.2
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
