CVE-2026-141523: ruby json · Out-of-bounds Write
Affects ruby jsonSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.19.3 or 2.18.2 when convenient.
Data as of 1 Dec 2026, 21:14 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 2.19.3, 2.18.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade ruby json to 2.19.3 or 2.18.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| rubyjson | Affected
| Fixed in
|
| rubyjson | Affected
| Fixed in
|
AI-suggested
Upgrade Ruby JSON to version 2.18.2 or later in the 2.18.x series, or to version 2.19.3 or later in the 2.19.x series to apply the official fix. No additional mitigation is required once patched.
Description
A vulnerability in the Ruby JSON library (versions >=2.18.0 <2.18.2 and >=2.19.0 <2.19.3) allows an out-of-bounds write during JSON parsing when the allow_control_characters option is enabled. This occurs if attacker-controlled invalid JSON contains specific malformed escape sequences, potentially causing heap corruption or crashing the Ruby VM, leading to denial of service. The issue is fixed in versions 2.18.2 and 2.19.3.
References
- github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99 (opens in a new tab)
- github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76 (opens in a new tab)
- github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3 (opens in a new tab)
- github.com/ruby/json/releases/tag/v2.18.2 (opens in a new tab)
- github.com/ruby/json/releases/tag/v2.19.3 (opens in a new tab)