patchminder
Proof of concept · CISA assessment CVE-2026-54696

Buffer overflowin Ruby json.

Published 30 Jun 2026 · Updated 1 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Low 3.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.19.9 or later
In plain words

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 generator buffer when a streamed object contains an attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.

What to do now
  • Upgrade json to 2.19.9 or later.
  • Upgrade json (RubyGems) to 2.19.9 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
json
2.9.0 to before 2.19.9
2.19.9
CVE record
json (RubyGems)
2.9.0 to before 2.19.9
2.19.9
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jun 2026
    CVE ID reserved by GitHub_M.
  2. 30 Jun 2026
    Published in the CVE List.
  3. 1 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other json vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-54696: Buffer overflow in Ruby json. https://patchminder.com/cve/cve-2026-54696/ (accessed 5 December 2026).