CVE-2026-54903
Last modified
CVE-2026-54903 is a medium-severity vulnerability rated 6.3/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.2, Oj.load is vulnerable to heap corruption when parsing a JSON string longer than 2 GB. EPSS estimates a 0.25% 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.2, Oj.load is vulnerable to heap corruption when parsing a JSON string longer than 2 GB. An integer overflow in buf_append_string (buf.h:61) converts the string length to a large negative size_t, causing memcpy to copy an astronomically large amount of data out of bounds. This crashes the process and can corrupt adjacent heap memory. The issue has been fixed in version 3.17.2.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ohler55 | oj | < 3.17.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54903?
How severe is CVE-2026-54903?
How do I fix CVE-2026-54903?
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-54898Oj (Optimized JSON) is a JSON parser and Object marshaller p…2.1
- CVE-2026-54899Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-5490DriveLock SQL Injection Privilege Escalation Vulnerability. …8.8
- CVE-2026-54900Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-54901Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-54902Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-54904concurrent-ruby is a modern concurrency tools for Ruby. Prio…7.5
- CVE-2026-54905concurrent-ruby is a modern concurrency tools for Ruby. Prio…5.5
- CVE-2026-54906concurrent-ruby is a modern concurrency tools for Ruby. Prio…9.8
- CVE-2026-54908Pion DTLS is a Go implementation of Datagram Transport Layer…6.3
- CVE-2026-54909pion/stun is a Go implementation of STUN. Prior to 3.1.3, XO…5.3
- CVE-2026-5491DriveLock Directory Traversal Information Disclosure Vulnera…7.5
Are you affected by CVE-2026-54903?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
