CWE-415: Double Free
943 CVEs have CWE-415 as their primary weakness. 5 of them are in the CISA KEV catalog. The highest EPSS score among them is 89.792%.
The product calls free() twice on the same memory address.
Child of CWE-825: Expired Pointer Dereference
Mitigations
- Architecture and Design: Choose a language that provides automatic memory management.
- Implementation: Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
- Implementation: Use a static analysis tool to find double free instances.
Observed examples
- CVE-2006-5051: Chain: Signal handler contains too much functionality (CWE-828), introducing a race condition (CWE-362) that leads to a double free (CWE-415).
- CVE-2004-0642: Double free resultant from certain error conditions.
- CVE-2004-0772: Double free resultant from certain error conditions.
- CVE-2005-1689: Double free resultant from certain error conditions.
- CVE-2003-0545: Double free from invalid ASN.1 encoding.
- CVE-2003-1048: Double free from malformed GIF.
- CVE-2005-0891: Double free from malformed GIF.
- CVE-2002-0059: Double free from malformed compressed data.
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2026-33824 | 2026-04-14 | CRITICAL | 9.8 | 77.377% | Double free in Windows IKE Extension allows an unauthorized attacker to execute code over a network. |
| CVE-2018-4990 | 2018-07-09 | HIGH | 8.8 | 35.438% | Adobe Acrobat and Reader versions 2018.011.20038 and earlier, 2017.011.30079 and earlier, and 2015.006.30417 and earlier have a Double Free vulnerability.… |
| CVE-2014-0502 | 2014-02-21 | HIGH | 8.8 | 24.817% | Double free vulnerability in Adobe Flash Player before 11.7.700.269 and 11.8.x through 12.0.x before 12.0.0.70 on Windows and Mac OS X and before 11.2.202.341… |
| CVE-2021-22600 | 2022-01-26 | MEDIUM | 6.6 | 6.586% | A double free bug in packet_set_ring() in net/packet/af_packet.c can be exploited by a local user through crafted syscalls to escalate privileges or deny… |
| CVE-2020-9859 | 2020-06-05 | HIGH | 7.8 | 0.838% | A memory consumption issue was addressed with improved memory handling. This issue is fixed in iOS 13.5.1 and iPadOS 13.5.1, macOS Catalina 10.15.5… |
| CVE-2026-130061 | 2026-11-16 | MEDIUM | 5.5 | 0.121% | GPAC before 26.07.0 contains a double free vulnerability in gf_sg_sfcommand_del() that allows attackers to crash the process via crafted XMT scenes. Attackers… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-415'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-415'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).