Back to CWE Lookup

CWE-122: Heap-based Buffer Overflow

VariantDraftExploit Likelihood: High
View on MITRE

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Technical Details

Structure
Simple

Applicable To

Languages
CC++
Platforms