MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-54897GHSA-9ppp-w3g4-fh4q

Oj : Use-After-Free in Oj::Doc Iterators via Reentrant Close

Not on CISA KEVCVSS 2.1 (v4.0)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)