Skip to main content
VulnerabilityPublished

CVE-2026-141523: Ruby JSON · Out of Bound Write in parser when `allow_control_characters: true` is enabled

Affects licenseeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141523· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 2.18.2 : update licensee when convenient.

Data as of 4 Dec 2026, 20:04 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.5
Patch
Available – fixed in 2.18.2, 2.19.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 4 Dec 2026.

What to do

Upgrade json to 2.18.2; json to 2.19.3.

Affected software

ProductAffectedFixed in
Homebrewlicenseepkg:brew/licenseeOther threatsAffected
  • >=10.1.0
Fixed in–
RubyGemsjsonpkg:gem/jsonOther threatsAffected
  • >=2.18.0 <2.18.2
  • =2.18.0
  • =2.18.1
Fixed in
  • 2.18.2
RubyGemsjsonpkg:gem/jsonOther threatsAffected
  • >=2.19.0 <2.19.3
  • =2.19.0
  • =2.19.1
  • =2.19.2
Fixed in
  • 2.19.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability was originally fixed in json version 1.9.3. Users should ensure they are using a patched version of the json library. Avoid parsing untrusted input with the allow_control_characters: true option enabled.

Description

A vulnerability in the Ruby JSON parser occurs when parsing invalid JSON with the option allow_control_characters set to true. This can lead to an out of bound write, potentially corrupting the heap or causing a virtual machine crash. The issue arises if an ASCII control character is preceded by a backslash, bypassing boundary checks. This flaw was originally fixed in json version 1.9.3. If untrusted input is parsed with this option enabled, it could be exploited as a denial-of-service vector.

References

Community reviews

Loading reviews…