CWE-415
Overview
- CWE ID
- 415
- CWE Name
- Double Free
- CWE Abstraction
- Variant
- CWE structure
- Simple
- CWE Status
- Draft
Description
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Extended Description
When a program calls free() twice with the same argument, the program's memory management data structures become corrupted. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same poin