Heap-based Buffer Overflow
CVE-2026-23876
Summary
ImageMagick is free and open-source software used for editing and manipulating digital images. In ImageMagick versions 7.x prior to 7.1.2-13 and 6.x prior to 6.9.13-38 and Magick.NET versions prior to 14.10.2, a Heap Buffer Overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. ImageMagick versions 7.1.2-13 and 6.9.13-38 and Magick.NET version 14.10.2 fix the issue.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-122 - Heap-based Buffer Overflow
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().
References
Advisory Timeline
- Published