6.5
MEDIUM CVSS 3.1
CVE-2026-141523
Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled
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.

INFO

Published Date :

Dec. 1, 2026, 8:40 p.m.

Last Modified :

Dec. 1, 2026, 8:40 p.m.

Remotely Exploit :

Yes !

Source :

GitHub_M
Affected Products

The following products are affected by CVE-2026-141523 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang javascript_object_notation
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
Solution
Update Ruby JSON gem to a patched version to fix heap memory corruption and VM crashes.
  • Update Ruby JSON gem to version 2.18.2 or later.
  • Update Ruby JSON gem to version 2.19.3 or later.
  • Ensure allow_control_characters is disabled if possible.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-141523 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.