Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
Heap-based Buffer Overflow
A heap-based buffer overflow is a memory safety vulnerability 1 classified as CWE-122 2.
This vulnerability occurs when a program writes data beyond the allocated boundaries of a buffer stored in heap memory. Attackers can exploit heap-based buffer overflows to corrupt adjacent heap structures, potentially leading to multiple security consequences.
Consequences
Reported outcomes include denial of service and arbitrary code execution 3. Remote code execution is the most consistently documented consequence, reported across multiple sources 4 5. Single reports describe arbitrary code execution in kernel context, privilege escalation to root, and combinations of privilege escalation with arbitrary code execution. Code execution has also been reported as an outcome.
The severity of heap-based buffer overflows stems from the heap's role in managing dynamic memory for program objects and data structures. Overflow conditions can corrupt metadata, function pointers, or adjacent objects, enabling attackers to hijack program control flow or escalate privileges depending on what data shares the heap region and the execution context.
In the news 5
- ZDI-26-1018: (0Day) Krita TIF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability · Zero Day Initiative
- ZDI-26-441: dnsmasq DNS Response Heap-based Buffer Overflow Remote Code Execution Vulnerability · Zero Day Initiative
- Hitachi Energy e-mesh EMS · CISA Advisories
- podcast SANS Stormcast Wednesday, July 29th, 2026: AutoIT Payload Injector; Appele Patches; SourTrade Malware; NGINX Exploit · SANS ISC: Daily Podcast
- CVE-2026-94127: Critical Unauthenticated RCE in F5 BIG-IP APM · Rapid7 Blog
Sign in for the full story cards: summaries, tags and starring.