CVE-2026-16554
highpriority · track · 31EPSS 0.004 · 30 %ileEUUSEPSS · scored 2026-10-28
cJSON library is vulnerable to an integer overflow in the print_string_ptr() function in cJSON.c on 32-bit platforms. The escape_characters counter, a 32-bit size_t, can wrap around when processing strings containing approximately 858,993,460 or more control characters, causing the output buffer to be allocated based on an underestimated length. When cJSON_PrintBuffered() is used with a pre-allocated buffer, the subsequent write loop overflows the heap allocation. An attacker supplying a crafted JSON string to an application using cJSON on a 32-bit platform can cause a heap buffer overflow, potentially leading to remote code execution, information disclosure, or denial of service. Because project creator contact attempts were unsuccessful, the vulnerability has only been confirmed in version 1.7.19 but may also affect other versions.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 1.2–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cert.pl/en/posts/2026/07/CVE-2026-16554cnnvd
- https://github.com/DaveGamble/cJSONcnnvd
- https://cert.pl/en/posts/2026/07/CVE-2026-16554enisa_euvd
- https://github.com/DaveGamble/cJSONenisa_euvd
- http://www.openwall.com/lists/oss-security/2026/07/30/26Issue TrackingMailing ListThird Party Advisorynvd
- http://www.openwall.com/lists/oss-security/2026/07/31/4Mailing ListThird Party Advisorynvd
- https://cert.pl/en/posts/2026/07/CVE-2026-16554Third Party Advisorynvd
- https://github.com/DaveGamble/cJSONProductnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan