Executive brief
ImageMagick is a widely used software suite for editing and processing digital images. A flaw in how it handles specific image files could allow an attacker to crash the application or freeze the server it is running on by forcing the processor into an endless loop. This can lead to a denial-of-service, preventing legitimate users from accessing services that rely on image processing.
Technical details
An infinite loop vulnerability (CWE-835) exists in the ImageMagick MIFF (Magick Image File Format) decoder due to a missing boundary or state check. By providing a specially crafted MIFF file, a remote, unauthenticated attacker can trigger an unreachable exit condition during file parsing. This results in 100% CPU utilization (CPU exhaustion), leading to a denial-of-service (DoS) condition for the affected process or host. The vulnerability is reachable over the network if the application processes user-supplied images. The issue is resolved in ImageMagick versions 7.1.2-23 and 6.9.13-48.
Affected products
- ImageMagick ImageMagick < 7.1.2-23, < 6.9.13-48
Timeline
- 2026-05-17: advisory: Initial GitHub security advisory published
- 2026-06-10: disclosed: CVE published to NVD dataset