CVE-2026-141523
Public on 2026-12-01
Modified on 2026-12-05
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2023 | pcs | Not Affected | ||
| Amazon Linux 2027 Preview | pcs | Not Affected | ||
| Amazon Linux 2 - Core | ruby | Not Affected | ||
| Amazon Linux 2023 | ruby3.2 | No Fix Planned | ||
| Amazon Linux 2023 | ruby3.4 | Not Affected | ||
| Amazon Linux 2027 Preview | ruby3.4 | Not Affected | ||
| Amazon Linux 2023 | ruby4.0 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |