Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-1000216
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-1000216
Complete source record
{
"id": "ffc97a7bfc55ba4d3764420c018a7a286c89b3d644b96ac0fe2cd9ceaba7bcbb",
"url": "https://osv.dev/vulnerability/CVE-2018-1000216",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-1000216",
"summary": "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.",
"evidence": "osv:CVE-2018-1000216",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-1000216",
"aliases": [
"CVE-2018-1000216"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/davegamble/cjson",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a559eac472652e8098939af8828ff59eda3a66ae"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.7.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.0",
"v1.5.9",
"v1.5.8",
"v1.5.7",
"v1.5.6",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.7",
"v1.4.6",
"v1.4.5",
"v1.4.4",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.0",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000216.json",
"vanir_signatures": [
{
"id": "CVE-2018-1000216-eed5b759",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175741754244379187423380183994691136902",
"116992765820216486185449116403431512872",
"243047185808513225516567632261043745977",
"202780394416609006394180268442375831096"
]
},
"source": "https://github.com/davegamble/cjson/commit/a559eac472652e8098939af8828ff59eda3a66ae",
"target": {
"file": "cJSON.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:31:51Z"
}
}
],
"modified": "2026-10-20T13:31:51.809161097Z",
"provider": "osv",
"references": [
"https://github.com/DaveGamble/cJSON/issues/241"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-1000216",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387786,
"published_at": "2018-08-20T20:29:00.61+00:00"
}