CVE-2026-140364: ImageMagick before 7.1.2-36 Heap Buffer Overflow in ICON Decoder
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-write in the ICON decoder that occurs when decoding crafted ICON images. Attackers can supply a malicious ICON file that, when processed, writes beyond heap buffer bounds, corrupting heap memory and causing crashes.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
ImageMagick versions before 6.9.13-61 and 7.x versions before 7.1.2-36 are affected when they decode ICON images.
What does an attacker need to exploit this issue?
An attacker needs to provide a crafted ICON file and have it processed by a vulnerable ImageMagick installation. No privileges or user interaction are indicated by the supplied vector, but exploitation has high attack complexity.
What is the impact of successful exploitation?
Processing the malicious ICON file can write beyond heap buffer bounds, corrupt heap memory, and cause crashes. The supplied severity vector indicates low integrity and availability impact, with no confidentiality impact.
How can I mitigate the issue if I cannot upgrade immediately?
Avoid decoding untrusted ICON files with the affected ImageMagick versions. This removes the crafted input required to trigger the vulnerable ICON decoder.