CVE-2026-141523: Ruby JSON · Out of Bound Write in parser when `allow_control_characters: true` is enabled
Affects rubocopSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.92.3 when convenient.
Data as of 2 Dec 2026, 23:21 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 1.92.3, 2.18.2, 2.19.3
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 2 Dec 2026.
What to do
Upgrade rubocop to 1.92.3; json to 2.18.2; json to 2.19.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewrubocoppkg:brew/rubocopOther threats | Affected
| Fixed in
|
RubyGemsjsonpkg:gem/jsonOther threats | Affected
| Fixed in
|
RubyGemsjsonpkg:gem/jsonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in rubocop version 1.92.3 that fixes this vulnerability. Users should upgrade to version 1.92.3 or later to remediate the issue. Avoid parsing untrusted JSON input with allow_control_characters: true enabled until patched.
Description
CVE-2026-141523 is a vulnerability in the Ruby JSON parser when the option allow_control_characters: true is enabled. Parsing invalid JSON containing a backslash followed by an ASCII control character can cause an out of bound write, potentially corrupting memory or crashing the Ruby VM. This issue affects rubocop versions from 1.89.0 up to but not including 1.92.3. A fix is available in version 1.92.3. The vulnerability can be exploited as a denial-of-service vector if untrusted input is parsed with the vulnerable option enabled.
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 (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)