CVE-2026-141523
Last modified
CVE-2026-141523 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ruby | json | >= 2.18.0, < 2.18.2; >= 2.19.0, < 2.19.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-141523?
How severe is CVE-2026-141523?
How do I fix CVE-2026-141523?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-141510Mongoose is an embedded web server and network library. In 7…5.9
- CVE-2026-141511Mongoose is an embedded web server and network library. Prio…7.5
- CVE-2026-141514minimatch is a minimal matching utility for converting glob …3.7
- CVE-2026-141516The AutomatorWP – No-Code Workflow Automation, Integration &…6.5
- CVE-2026-141517Improper resolution of path equivalence in the private state…7.8
- CVE-2026-14152Out of bounds read and write in ANGLE in Google Chrome prior…9.6
- CVE-2026-141524Addressable is an alternative implementation to the URI impl…3.7
- CVE-2026-141525Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-141526Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-141527Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-141528Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-141529Addressable is an alternative implementation to the URI impl…3.7
Are you affected by CVE-2026-141523?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
