CVE-20XX-?

CVE-2026-54897

2.1 LOW 0.2% exploit odds Fix listed Memory safety Library

What it is

Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to 3.17.2, Oj::Doc iterators (each_value, each_child, each_leaf) were vulnerable to a heap use-after-free. When a Ruby block yielded during iteration calls doc.close or d.close, the document's heap memory is freed while the C iterator is still running. When control returns from the block, the iterator reads from the freed region, producing a use-after-free accessible from pure Ruby. This issue has been fixed in version 3.17.2.

At a glance

Exploitability
Can be exploited locally on the machine without logging in. Limited direct impact.
Exploit odds
0.2% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.2% · EPSS, next 30 days
Weakness
CWE-416 · Use after free
Record status
Deferred

Attack profile CVSS 4.0 · 2.1

Attack vector
Local
Complexity
Low
Attack requirements
Present
Privileges needed
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Raw vector

CVSS:4.0/AV:L/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

Meme: I wake up, CVE-2026-54897
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record