SecurityContext

CVE-2018-1000216: Dave Gamble cJSON - Use After Free

  • Cve: CVE-2018-1000216
  • Name: Dave Gamble cJSON - Use After Free
  • 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.
  • Impact: Attackers can cause application crashes or remote code execution by exploiting the double free vulnerability.
  • Remediation: Update to version 1.7.3 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: user_interaction
  • Requirements: Victim must print JSON data
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01471
  • Epss percentile: 0.74454
  • Assignee: [email protected]
  • Published at: 2018-08-20T20:29:00Z
  • Age in days: 3018
  • Modified at: 2026-06-17T01:32:41Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1000216
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-415Double Free

Public exploits

UrlSourceAdded date
https://github.com/DaveGamble/cJSON/issues/241nvd2018-08-20

References

UrlSourceTags
https://github.com/DaveGamble/cJSON/issues/241nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
davegamble:cjson< 1.7.3nonvd/v1/products/davegamble/cjson

Projects

RepositoryLink kindsIndexedUrl
davegamble/cjsonissuesyes/v1/repositories/davegamble/cjson

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-08-20
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts