CVE-2026-140351: ImageMagick before 7.1.2-36 Heap Buffer Overflow via Pixel Export
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in its pixel export handling. An attacker can supply a crafted image that, when its pixel data is exported in a very specific situation, causes a small heap buffer over-write, potentially leading to a crash or memory corruption.
Affected Software
Event History
Frequently Asked Questions
Which ImageMagick releases need to be updated?
ImageMagick 6 releases before 6.9.13-61 and ImageMagick 7 releases before 7.1.2-36 are affected.
What must occur for an attacker-controlled image to trigger the issue?
An attacker must provide a crafted image, and its pixel data must subsequently be exported in a very specific situation. The available information does not indicate that merely processing or viewing the image is sufficient.
What is the practical impact if exploitation succeeds?
The flaw causes a small heap buffer overwrite that may result in a crash or memory corruption. The supplied severity data rates availability impact as low and confidentiality and integrity impact as none.
What should teams do if they use an affected release?
Update ImageMagick 6 to 6.9.13-61 or later, or ImageMagick 7 to 7.1.2-36 or later. The provided information does not specify an alternative configuration workaround.