6.5

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

Received
AliasesGHSA-cjpr-jw2g-fw99CGA-4h6g-4w8r-j8q7DEBIAN-CVE-2026-141523
Published 01-12-2026Last modified 05-12-2026

Vulnerability summary

CVE-2026-141523 is a medium (CVSS 6.5) Out-of-bounds Write vulnerability in ruby json. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.78%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-12-2026
    PublishedVulnerability first disclosed.
  2. 05-12-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

02-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded)
  • gitlab-rails-ce-19.0All versions (No fix recorded)
  • gitlab-rails-ce-19.1All versions (No fix recorded)
Debian1 product
  • ruby-jsonAll versions (No fix recorded) | < 2.19.4+dfsg-1
Ruby1 product
  • json≥ 2.18.0, < 2.18.2 | ≥ 2.19.0, < 2.19.3
RubyGems1 product
  • json≥ 2.18.0, < 2.18.2 | ≥ 2.19.0, < 2.19.3
Ubuntu1 product
  • ruby-jsonAll versions (No fix recorded)

5 vendors · 14 products

References

11 links
Show all 11 references