Wednesday 02 December 2026 14:01:19 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Heap-buffer overflow

A memory error where data overruns a buffer allocated on the heap.

A heap-buffer overflow occurs when a program writes more data to a buffer than its heap allocation can hold. The extra data may overwrite nearby memory, potentially corrupting program state, causing a crash, or enabling code execution under the right conditions.

In cyber security, this bug matters especially in code that processes attacker-controlled input, such as a file or data decoder. An attack may supply crafted input that triggers the overflow. Defenses include validating input lengths, using memory-safe programming practices and tools, and promptly applying software updates that fix affected code.

← WIKICROOK index