CVE-2026-141523
Published:December 01, 2026
Updated:December 02, 2026
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.
Affected Packages
https://github.com/ruby/json.git (GITHUB):
Affected version(s) >=v2.18.0 <v2.18.2Fix Suggestion:
Update to version v2.18.2https://github.com/ruby/json.git (GITHUB):
Affected version(s) >=v2.19.0 <v2.19.3Fix Suggestion:
Update to version v2.19.3json (RUBY):
Affected version(s) >=2.19.0 <2.19.3Fix Suggestion:
Update to version 2.19.3json (RUBY):
Affected version(s) >=2.18.0 <2.18.2Fix Suggestion:
Update to version 2.18.2Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write