MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-54896GHSA-35w3-pjm6-wj95

Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent

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. In versions prior to 3.17.2, when in object mode, Oj.dump is vulnerable to a heap buffer overflow when serializing Exception objects with a large :indent value. The serializer allocates a buffer sized for the

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)