VariantDraft

CWE-415Double Free

Category: other

Description

The product calls free() twice on the same memory address.

Common consequences· 1

  • Integrity / Confidentiality / Availability — Modify Memory, Execute Unauthorized Code or Commands

Potential mitigations· 3

  • [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.

References

  1. https://cwe.mitre.org/data/definitions/415.html

(incoming)19

TypeTargetConfidenceTier
VulnerabilityCVE-2025-20134cve-2025-201340%live
VulnerabilityCVE-2025-21201cve-2025-212010%live
VulnerabilityCVE-2025-21291cve-2025-212910%live
VulnerabilityCVE-2025-23102cve-2025-231020%live
VulnerabilityCVE-2025-32988cve-2025-329880%live
VulnerabilityCVE-2025-49688cve-2025-496880%live
VulnerabilityCVE-2025-5100cve-2025-51000%live
VulnerabilityCVE-2025-55118cve-2025-551180%live
VulnerabilityCVE-2025-55158cve-2025-551580%live
VulnerabilityMicrosoft Windows Race Condition Vulnerabilitycve-2025-622150%live
VulnerabilityCVE-2026-23918cve-2026-239180%live
VulnerabilityCVE-2026-31608cve-2026-316080%live
VulnerabilityCVE-2026-31609cve-2026-316090%live
VulnerabilityCVE-2026-33824cve-2026-338240%live
VulnerabilityCVE-2026-43011cve-2026-430110%live
VulnerabilityCVE-2026-43249cve-2026-432490%live
KEVEntryAdobe Acrobat and Reader Double Free Vulnerabilitykev-cve-2018-49900%live
KEVEntryApple Multiple Products Code Execution Vulnerabilitykev-cve-2020-98590%live
KEVEntryLinux Kernel Privilege Escalation Vulnerabilitykev-cve-2021-226000%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Free of Pointer not at Start of Buffer
CWE
Use After Free
CWE
Free of Memory not on the Heap
CWE
Untrusted Pointer Dereference
CWE
NULL Pointer Dereference
CWE
Buffer Over-read
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.