Skip to main content
VulnerabilityPublished

CVE-2026-141523: ruby json · Out-of-bounds Write

Affects ruby jsonSource CVE Database V5

0
Compare

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

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.19.3, 2.18.2
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 1 Dec 2026.

What to do

Upgrade ruby json to 2.19.3 or 2.18.2.

Affected software

ProductAffectedFixed in
rubyjsonAffected
  • >=2.19.0 <2.19.3
Fixed in
  • 2.19.3
rubyjsonAffected
  • >=2.18.0 <2.18.2
Fixed in
  • 2.18.2

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

Community reviews

Loading reviews…