Approved changes feed: RSS · Atom

cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorDavegamble (b93ef24b-47a3-5b76-9a86-d3003d218d8d)
ProductCjson (83e6a30d-aa72-5f1b-a4ec-e107d95fa9db)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/cjson purl2cpe 2026-06-01 10:18:15.097002
pkg:deb/ubuntu/cjson purl2cpe 2026-06-01 10:18:15.097004
pkg:github/davegamble/cjson purl2cpe 2026-06-01 10:18:15.097005
pkg:rpm/fedora/cjson purl2cpe 2026-06-01 10:18:15.097007
pkg:rpm/opensuse/cjson purl2cpe 2026-06-01 10:18:15.097008

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-67217 vulnerable 2026-09-16 04:33:05.988134 cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation
MEDIUM (5.3)
cJSON through 1.7.19 applies RFC 6902 JSON Patch operations non-atomically in apply_patch() in cJSON_Utils.c. For a replace operation that is missing its value member, or a move operation whose destination path cannot be resolved, the existing target member is detached and deleted before the operation is fully validated, so the target document is mutated while cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() returns a failure status. An attacker who can supply the patch document can destroy addressable members of the target document even though the API reports that the patch failed, defeating the all-or-nothing behavior callers rely on to reject bad patches.
Published: 2026-07-29T13:32:04.416Z
Updated: 2026-07-29T16:00:27.693Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-67216 vulnerable 2026-09-16 04:33:05.961751 cJSON cJSON_Compare Exponential Complexity Denial of Service
MEDIUM (5.9)
cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.
Published: 2026-07-29T13:32:03.696Z
Updated: 2026-07-30T15:19:59.613Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-67215 vulnerable 2026-09-16 04:33:05.640542 cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion
HIGH (7.5)
cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). A patch containing add and copy operations grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of service.
Published: 2026-07-29T13:32:02.975Z
Updated: 2026-07-29T15:59:48.983Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-87933 vulnerable 2026-09-16 04:33:01.277787 DaveGamble cJSON cJSON_Utils.c cJSONUtils_MergePatch use after free
HIGH (7.3)
A vulnerability was found in DaveGamble cJSON up to 1.7.19. The affected element is the function cJSONUtils_MergePatch of the file cJSON_Utils.c. The manipulation results in use after free. The attack may be launched remotely. The exploit has been made public and could be used. The pull request to fix this issue awaits acceptance.
Published: 2026-09-10T00:15:08.473Z
Updated: 2026-09-10T19:06:09.220Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-16554 vulnerable 2026-09-16 04:32:56.348470 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.
Published: 2026-07-27T08:40:17.183Z
Updated: 2026-07-31T13:34:05.448Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-57052 vulnerable 2026-06-08 07:33:15.766233 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-11835 vulnerable 2026-06-08 05:12:38.173107 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-11834 vulnerable 2026-06-08 05:12:38.172619 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-1000217 vulnerable 2026-06-08 05:10:25.655181 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-1000216 vulnerable 2026-06-08 05:10:25.654851 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-1000215 vulnerable 2026-06-08 05:10:25.654432 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2016-10749 vulnerable 2026-06-08 05:07:25.673327 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.