PT-2025-22802
CVE-2023-53154
·
Published
2025-05-23
·
Updated
2026-08-25
Description by
CVSS 3.1
5.5
MediumMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾