CVE-2026-16554
Last modified
CVE-2026-16554 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. 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.
Description
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.
Metrics
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| DaveGamble | cJSON | 1.7.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-16554?
How severe is CVE-2026-16554?
How do I fix CVE-2026-16554?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-16543Kong Operator's embedded Kong Kubernetes Ingress Controller …7.1
- CVE-2026-16544A flaw was found in AWX. The websocket event consumer perfor…6.5
- CVE-2026-1655The EventPrime plugin for WordPress is vulnerable to unautho…4.3
- CVE-2026-16551Denial-of-Service in Thinkst Applied Research OpenCanary (Mo…6.9
- CVE-2026-16552Rejected reason: The reported issue is invalid, as it requir…
- CVE-2026-16553GitLab has remediated an issue in GitLab EE affecting all ve…5.4
- CVE-2026-1656The Business Directory Plugin for WordPress is vulnerable to…5.3
- CVE-2026-16560A heap-buffer-overflow flaw was found in Directory Server (3…5.3
- CVE-2026-1657The EventPrime plugin for WordPress is vulnerable to unautho…5.3
- CVE-2026-1658User Interface (UI) Misrepresentation of Critical Informatio…5.3
- CVE-2026-16581In igloohome Smart Lock Mobile App versions 3.2.3 and prior,…6.9
- CVE-2026-16584Improper handling of an initialization failure in AWS API MC…7.3
Are you affected by CVE-2026-16554?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
