PT-2025-22802 · Cjson+5 · Cjson+5

Published

2025-05-23

·

Updated

2026-01-26

·

CVE-2023-53154

CVSS v3.1

5.5

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2025-8167
AZL-62005
AZL-67455
BDU:2025-10853
CVE-2023-53154
DLA-4216-1
USN-7973-1

Affected Products

Alt Linux
Debian
Linuxmint
Red Os
Ubuntu
Cjson