CVE-2023-53154

cjson: Heap based buffer overflow at cJSON_ParseWithLength function

Published May 23, 2025 CVSS 3.1 · 2.9 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4216-1 cjson security update
EUVD EUVD EUVD-2023-59777 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.
Ubuntu USN Ubuntu USN USN-7973-1 cJSON vulnerabilities
History
Type Values Removed Values Added
First Time appeared Cjson Project
Cjson Project cjson
CPEs cpe:2.3:a:cjson_project:cjson:*:*:*:*:*:*:*:*
Vendors & Products Cjson Project
Cjson Project cjson
Type Values Removed Values Added
Title cjson: Heap based buffer overflow at cJSON_ParseWithLength function
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 3, 2025, 7:28 PM
Reserved
May 23, 2025, 12:00 AM
Status
Modified
Published
May 23, 2025, 4:15 PM
Modified
Jun 17, 2026, 6:44 AM
Severity
Low
Public date
May 23, 2025, 12:00 AM