Home / DaveGamble / cJSON / CVE-2026-16554
CVE-2026-16554: is it exploited, and which versions of DaveGamble cJSON are affected and fixed?
CVE-2026-16554 is an integer overflow vulnerability in DaveGamble cJSON. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: cJSON 1.7.19 (CVE record by CERT-PL). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 4.0, from CERT-PL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-16554?
Integer Overflow Leading to Heap Buffer Overflow in cJSON
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.
From the CVE record by CERT-PL, last updated July 31, 2026, 13:34 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| DaveGamble | cJSON | 1.7.19 |
As the CVE record by CERT-PL states it, last updated July 31, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| davegamble | cjson | 1.7.19 | application |
NVD analysis (status Analyzed), last modified October 24, 2026, 13:10 UTC.
How severe is CVE-2026-16554?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | 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 | CERT-PL |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-16554 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 27, 2026)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 23.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://cert.pl/en/posts/2026/07/CVE-2026-16554 third-party-advisory
- https://github.com/DaveGamble/cJSON product
- http://www.openwall.com/lists/oss-security/2026/07/30/26
- http://www.openwall.com/lists/oss-security/2026/07/31/4
Who found and reported it?
- MichaĆ Majchrowicz (AFINE Team) (finder)
- Marcin Wyczechowski (AFINE Team) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 22, 2026
- Published
- July 27, 2026, 08:40 UTC
- CVE record updated
- July 31, 2026, 13:34 UTC by CERT-PL
- NVD
- Analyzed, last modified October 24, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cJSON?
- Sep 10, 2026CVE-2026-87933 DaveGamble cJSON: use after free
- Aug 11, 2026CVE-2026-29036 DaveGamble cJSON: incorrectly resolved name or reference
- Jul 29, 2026CVE-2026-67217 DaveGamble cJSON: incorrect Behavior Order
- Jul 29, 2026CVE-2026-67216 DaveGamble cJSON: denial of service through slow algorithm
- Jul 29, 2026CVE-2026-67215 DaveGamble cJSON: uncontrolled recursion
- Sep 3, 2025CVE-2025-57052 Davegamble Cjson: out-of-bounds read
- Dec 14, 2023CVE-2023-50472 Davegamble Cjson: NULL pointer dereference (crash)
- Dec 14, 2023CVE-2023-50471 Davegamble Cjson: NULL pointer dereference (crash)
Questions about CVE-2026-16554
Is CVE-2026-16554 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of DaveGamble cJSON are affected by CVE-2026-16554?
cJSON 1.7.19, per the CVE record by CERT-PL. The tables above give every range the sources list.
Which version fixes CVE-2026-16554?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-16554?
Medium (5.1, CVSS 4.0, from CERT-PL). The severity table above shows each score with its source.
Where is the official record of CVE-2026-16554?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.