CVE-2026-141523
### Summary Parsing invalid JSON with the `allow_control_characters: true` option enabled can result in an out of bound write, potentially corrupting the heap, but more likely a VM crash. ### Details If an ASCI control character is preceded by a backslash, the bound checks can be defeated. Originally fixed as a regular bug in `json` `1.9.3`. ### Proof of concept The issue can easily be reproduced with a backslash followed by a control character. Some padding is required. ```ruby require "json" doc = '"' + ("A" * 4096) + "\\\x01" + '"' JSON.parse(doc, allow_control_characters: true) ``` ### Impact If the `allow_control_characters: true` option is used to parse untrusted input, it could be used as a DOS vector.
Properties
- Summary
- Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled
- Severity
- medium
- Nvd fetched at
- 2026-12-02T06:37:54.190518+00:00
- Cvss score
- 6.5
- Cvss severity
- MEDIUM
- Retrieved at
- 2026-12-02T06:39:20+00:00
- Ghsa published
- 2026-12-01T21:15:43Z
- Source url
- https://github.com/advisories/GHSA-cjpr-jw2g-fw99
- Ghsa updated
- 2026-12-01T21:15:44Z
- Ghsa id
- GHSA-cjpr-jw2g-fw99
- Last source
- GitHub Advisory Database
- Score
- 6.5
- Cvss version
- 3.1
- Cve id
- CVE-2026-141523
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- First seen by Signal
- 2026-12-01T22:36:00+00:00
- Name
- CVE-2026-141523
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- Published at
- 2026-12-01T21:17:11.827
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph