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

Memory corruptionin Ruby json.

Published 1 Dec 2026 · Updated 5 Dec 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
Medium 6.5
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.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.18.2, 2.19.3
In plain words

Ruby JSON is a JSON implementation for Ruby. From 2.18.0 until 2.18.2 and 2.19.3, JSON.parse can perform an out-of-bounds write when allow_control_characters is enabled and attacker-controlled invalid JSON contains sufficient padding before a backslash immediately followed by an ASCII control character. This malformed escape sequence can defeat the parser's bounds checks, potentially corrupting heap memory and more likely crashing the Ruby VM, which can cause denial of service in applications that parse untrusted input with the affected option. This issue is fixed in versions 2.18.2 and 2.19.3.

What to do now
  • Upgrade json to 2.18.2, 2.19.3 or later, whichever matches your release line.
  • Upgrade json (RubyGems) to 2.18.2, 2.19.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
json
2.18.0 to before 2.18.2
2.18.2
CVE record
json
2.19.0 to before 2.19.3
2.19.3
CVE record
json (RubyGems)
2.18.0 to before 2.18.2
2.18.2
GitHub advisory
json (RubyGems)
2.19.0 to before 2.19.3
2.19.3
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. 1 Dec 2026
    CVE ID reserved by GitHub_M.
  2. 1 Dec 2026
    Published in the CVE List.
  3. 5 Dec 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: Out-of-bounds write

All CWE-787 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-141523: Memory corruption in Ruby json. https://patchminder.com/cve/cve-2026-141523/ (accessed 5 December 2026).