CWE-590

Overview
  • CWE ID
  • 590
  • CWE Name
  • Free of Memory not on the Heap
  • CWE Abstraction
  • Variant
  • CWE structure
  • Simple
  • CWE Status
  • Incomplete
Description
The application calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().
Extended Description
When free() is called on an invalid pointer, the program's memory management data structures may become corrupted. This corruption can cause the program to crash or, in some circumstances, an attacker may be able to cause free() to operate on controllable
Related CWEs
CWE ID View ID Nature Ordinal
762 1000 ChildOf Primary
123 1000 CanPrecede