MEDIUM
DaveGamble
CVE published 2026-07-27
CVE-2026-16554
The cJSON library has an integer overflow vulnerability in the print_string_ptr() function on 32-bit platforms. This occurs when processing strings with 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 [truncated]