VYPR

oj gem

by Oj

CVEs (2)

  • CVE-2026-54898higJun 19, 2026
    risk 0.45cvss epss

    ### Summary `Oj::Parser#parse` is vulnerable to a heap use-after-free when a SAJ/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a raw `const byte *` pointer into the Ruby string's internal buffer. If a callback (e.g. `hash_start`) resizes the…

  • CVE-2026-54896higJun 19, 2026
    risk 0.45cvss epss

    ### Summary `Oj.dump` in object mode is vulnerable to a heap buffer overflow when serializing Exception objects with a large `:indent` value. The serializer allocates a buffer sized for the object's attributes but does not account for the indent bytes added on each write. With…