CVE-2026-54502
Oj: Stack Buffer Overflow in Oj.dump via Large Indent
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install oj -v 3.17.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| oj | rubygems | 0.5, 0.5.1, 0.5.2, 0.6.0 (+290 more) | 3.17.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-121
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
Frequently Asked Questions
- What is CVE-2026-54502?
- Oj: Stack Buffer Overflow in Oj.dump via Large Indent This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-54502?
- CVE-2026-54502 affects oj. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54502 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-54899HIGH
Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle
- CVE-2026-54896HIGH
Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent
- CVE-2026-54592HIGH
Oj: Stack Buffer Overflow in Oj::Doc#each_child via Deeply Nested Input
- CVE-2026-54897HIGH
Oj: Use-After-Free in Oj::Doc Iterators via Reentrant Close
- CVE-2026-54902HIGH
Oj: Use-After-Free in Oj::Parser SAJ Long Key Callback
- CVE-2026-54898HIGH
Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation
- CVE-2026-54901HIGH
Oj: Use-After-Free in Oj::Parser array_class/hash_class GC Marking
- CVE-2026-54500MEDIUM
Oj: intern.c form_attr (uninitialized stack read)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies