CVE-2026-141523: Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled
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.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 05-12-2026Last 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- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- OSV · RubygemsEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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- github.com/ruby/jsonPACKAGE