Skip to main content
Mallory
MediumVulnerability

CVE-2026-16554: Integer Overflow in cJSON print_string_ptr() on 32-bit Platforms

Published Jul 27, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.1Medium · v4
EPSS0.37%23rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Davegamble
IdentifiersCVE-2026-16554CWE-190 · Integer Overflow or Wraparound

CVE-2026-16554 is an integer overflow in the cJSON library's print_string_ptr() function on platforms with 32-bit size_t. Processing a string containing approximately 858,993,460 or more control characters can wrap the escape_characters counter, causing the output-buffer size to be underestimated. When cJSON_PrintBuffered() is used with a pre-allocated buffer, the subsequent write loop can overflow the heap allocation. The vulnerability is confirmed in cJSON 1.7.19; other versions may also be affected but have not been confirmed.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation causes heap memory corruption and can potentially lead to remote code execution, information disclosure, or denial of service in the application using cJSON. The specific outcome depends on the application's exposure, memory layout, and runtime protections.

Mitigation

If you can’t patch tonight, do this now.

Prevent untrusted strings from reaching the affected serialization path on 32-bit deployments, particularly cJSON_PrintBuffered() with a pre-allocated buffer. Enforce conservative input and string-length limits before serialization to prevent extremely large strings with enough control characters to trigger counter wraparound.

Remediation

Patch, then assume compromise.

Apply a project or vendor fix addressing the integer overflow when available, and update affected bundled copies of cJSON. No fixed version is identified. Version 1.7.19 is confirmed affected, and other versions should not be assumed safe without verification.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
DavegambleCjsonapplication
FAQ

Frequently asked questions

Is CVE-2026-16554 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2026-16554 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-16554?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2026-16554.
Is there a patch for CVE-2026-16554?
Apply a project or vendor fix addressing the integer overflow when available, and update affected bundled copies of cJSON. No fixed version is identified.
What products are affected by CVE-2026-16554?
Davegamble Cjson.
How severe is CVE-2026-16554?
CVE-2026-16554 has a CVSS v4 score of 5.1 (Medium) and an EPSS score of 0.37% (23rd percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.