PT-2025-22802 · Cjson+5 · Cjson+5
Published
2025-05-23
·
Updated
2026-01-26
·
CVE-2023-53154
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
cJSON versions prior to 1.7.18
Description
The issue is related to a heap-based buffer over-read in the
parse string function of the cJSON library. This occurs when cJSON ParseWithLength is called with a JSON string that has no trailing newline, such as {"1":1.Recommendations
For versions prior to 1.7.18, update to version 1.7.18 or later to resolve the issue. As a temporary workaround, consider avoiding the use of
cJSON ParseWithLength with JSON strings that have no trailing newline until a patch is available. Restrict input to ensure that all JSON strings have a trailing newline to minimize the risk of exploitation.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Red Os
Ubuntu
Cjson