MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-54696GHSA-x2f5-4prf-w687UBUNTU-CVE-2026-54696

Ruby JSON: JSON generator heap buffer overflow when streaming to an IO

Not on CISA KEV
  • Overview

Summary

Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON

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)
  • Ubuntu Source: Ubuntu