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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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
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
- Awaiting Analysis
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-16547The REST API Log WordPress plugin before 1.7.1 does not bind…5.9
- CVE-2026-16548The Chat Widget: Floating Customer Support Button for 30+ Ch…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-16557The Nimble Page Builder WordPress plugin through 3.3.8 does …4.3
- CVE-2026-16558The YMC Filter WordPress plugin before 3.12.8 does not sanit…5.4
- CVE-2026-16559The YMC Filter WordPress plugin before 3.12.9 does not sanit…6.8
- 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-16561The Sunshine Photo Cart WordPress plugin before 3.6.12 does…7.5
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
