Heap Overflow

Noun · Security & Infosec

Definitions

  1. A memory corruption bug where data written to heap-allocated memory exceeds the intended bounds and overwrites adjacent objects or allocator state. Heap overflows can lead to crashes, data corruption, information disclosure, or exploit chains.

    In plain English: A bug where a program writes too much data into dynamic memory and corrupts nearby data.

    Example: "The image decoder had a heap overflow when it trusted the size field in the malformed file header."

Related Terms