CVE Explorer
CVE-2026-54901
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj::Parser in usual mode does not mark array_class and hash_class references during garbage collection, leading to Use-After-Free. If GC runs after the class is assigned but before a parse, the class object is reclaimed, leaving the parser holding a dangling VALUE. The subsequent parse call dereferences the freed object, producing a segfault. This issue has been fixed in version 3.17.2
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"oj","vendor":"ohler55","versions":[{"status":"affected","version":"< 3.17.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5a22a5cbc5bc8f29d928200fe96113b970b49d97fb9b8b8e5688b18670f7000e · sha256:853851357705c77d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5a22a5cbc5bc8f29d928200fe96113b970b49d97fb9b8b8e5688b18670f7000e · sha256:853851357705c77d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-416","description":"CWE-416: Use After Free","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5a22a5cbc5bc8f29d928200fe96113b970b49d97fb9b8b8e5688b18670f7000e · sha256:853851357705c77d… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/ohler55/oj/security/advisories/GHSA-vwm4-62gf-x745","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ohler55/oj/security/advisories/GHSA-vwm4-62gf-x745"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a22a5cbc5bc8f29d928200fe96113b970b49d97fb9b8b8e5688b18670f7000e · sha256:853851357705c77d… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/ohler55/oj/security/advisories/GHSA-vwm4-62gf-x745"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a22a5cbc5bc8f29d928200fe96113b970b49d97fb9b8b8e5688b18670f7000e · sha256:853851357705c77d… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.