CVE Explorer
CVE-2026-54500
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.3, Oj.load in :object mode reads uninitialized stack memory (and, for long keys, reads out of bounds) when parsing a JSON object whose key is 254 bytes or longer. The interned bytes can surface to the caller, disclosing process stack memory. In ext/oj/intern.c, form_attr() handles the long-key path by allocating a heap buffer, `b`, populating it with the attribute name, and then freeing i
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-908","description":"CWE-908: Use of Uninitialized Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"oj","vendor":"ohler55","versions":[{"status":"affected","version":"< 3.17.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-908","description":"CWE-908: Use of Uninitialized Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/ohler55/oj/security/advisories/GHSA-fm7p-mprw-wjm9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ohler55/oj/security/advisories/GHSA-fm7p-mprw-wjm9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a54129ece06292eac1d8a81176491809a26f7656ab9d4ed194faa01b4ea9354d · sha256:d1b9121b418b3a4b… · /containers/cna/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.