Quick answers
- Is CVE-2026-16554 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-16554 being exploited in the wild.
- How severe is CVE-2026-16554?
- Informational severity, with a CVSS score of 5.1, published 27 July 2026.
- Which products and versions are affected?
- DaveGamble cJSON 1.7.19.
- Is there a fix for CVE-2026-16554?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-16554 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-16554?
- Check whether you run DaveGamble cJSON at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An integer overflow vulnerability (CWE-190) exists in the print_string_ptr() function within 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. This causes the output buffer to be allocated with an underestimated length. When cJSON_PrintBuffered() is subsequently used with a pre-allocated buffer, the write loop overflows the heap allocation. An attacker can exploit this by supplying a crafted JSON string to trigger a heap buffer overflow, potentially resulting in remote code execution (RCE), information disclosure, or denial of service (DoS). As of the advisory date, the vendor has not been successfully contacted, and a patch is not confirmed.
Affected products
- DaveGamble cJSON 1.7.19
Timeline
- 2026-07-27: advisory: Advisory published by CERT.PL
- 2026-07-27: disclosed