7.8

CVE-2026-16554: davegamble cjson Integer Overflow or Wraparound

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-16554DEBIAN-CVE-2026-16554
Published 27-07-2026Last modified 31-07-2026

Vulnerability summary

CVE-2026-16554 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in davegamble cjson. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.4% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 27-07-2026
    PublishedVulnerability first disclosed.
  2. 31-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

0.00 pp

From 0.29% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Davegamble1 product
Debian1 product
  • cjsonAll versions (No fix recorded)
Ubuntu1 product
  • cjsonAll versions (No fix recorded)

3 vendors · 3 products

References

7 links