CVE-2023-53154 Details
Description
parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.
A heap-based buffer over-read vulnerability has been identified in cJSON versions prior to 1.7.18. The issue arises in the parse_string function when cJSON_ParseWithLength is called with a JSON string that lacks a trailing newline. This condition leads to an out-of-bounds read, which can be exploited to cause a heap-buffer-overflow, as reported by the AddressSanitizer.
Users should upgrade to cJSON version 1.7.18 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/DaveGamble/cJSON/issues/800 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/06/msg00014.html | CVE | |
| https://github.com/DaveGamble/cJSON/compare/v1.7.17...v1.7.18 | [email protected] | Release Notes |
| https://github.com/DaveGamble/cJSON/issues/800 | [email protected] | ExploitIssue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cjson project cjson | < 1.7.18 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Jun 16, 2025 | Initial Analysis | [email protected] |
| May 23, 2025 | New CVE Received | [email protected] |
| May 23, 2025 | CVE Modified | CISA-ADP |