← Vulnerability feed

Vulnerability record · CVE-2018-1000216 · published 20 August 2018

CVE-2018-1000216: Davegamble cjson double free vulnerability

DDavegamble · Cjson

Dave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON library that can result in Possible crash or RCE. This attack appear to be exploitable via Attacker must be able to force victim to print JSON data, depending on how cJSON library is used this could be either local or over a network. This vulnerability appears to have been fixed in 1.7.3.

8.8 CVSS 3.0 High EPSS 1.5% · top 27.3% CWE-415 · Double free
8.8CVSS 3.0 base score, v2 6.8
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Dave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON library that can result in Possible crash or RCE. This attack appear to be exploitable via Attacker must be able to force victim to print JSON data, depending on how cJSON library is used this could be either local or over a network. This vulnerability appears to have been fixed in 1.7.3.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/DaveGamble/cJSON/issues/241 ExploitThird Party Advisory
https://github.com/DaveGamble/cJSON/issues/241 ExploitThird Party Advisory

Track CVE-2018-1000216 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-57052Davegamble cjson out-of-bounds read vulnerabilitycJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers t…EPSS 0.74%9.8CVE-2019-11834Davegamble cjson out-of-bounds read vulnerabilitycJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal.EPSS 2.5%9.8CVE-2019-11835Davegamble cjson out-of-bounds read vulnerabilitycJSON before 1.7.11 allows out-of-bounds access, related to multiline comments.EPSS 2.6%9.8CVE-2016-10749Davegamble cjson out-of-bounds read vulnerabilityparse_string in cJSON.c in cJSON before 2016-10-02 has a buffer over-read, as demonstrated by a string that begins with a " character and ends with a…EPSS 2.5%9.8CVE-2018-1000217Davegamble cjson use after free vulnerabilityDave Gamble cJSON version 1.7.3 and earlier contains a CWE-416: Use After Free vulnerability in cJSON library that can result in Possible crash, corr…EPSS 1.8%8.7CVE-2026-67215Davegamble cjson vulnerabilitycJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUt…EPSS 0.70%8.2CVE-2026-67216Davegamble cjson vulnerabilitycJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each …EPSS 0.65%7.5CVE-2023-50471Davegamble cjson null pointer dereference vulnerabilitycJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemInArray at cJSON.c.EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2018-1000216), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.