Executive brief
ImageMagick is a widely used software suite for displaying, converting, and editing image files. A vulnerability in how it handles image metadata (XMP profiles) could allow an attacker to cause the application to crash by providing a specially crafted image file. This primarily impacts the reliability and availability of services that automatically process user-uploaded images.
Technical details
A heap use-after-free vulnerability exists in ImageMagick due to an unchecked return value (CWE-252) and missing null check during the parsing of XMP profiles. An attacker can exploit this by providing a malicious image file containing specially crafted XMP data. While the attack vector is network-based and requires no privileges or user interaction, the complexity is rated as high. Successful exploitation results in a denial-of-service (crash) of the ImageMagick process. The issue is resolved in versions 7.1.2-26 and 6.9.13-51.
Affected products
- ImageMagick ImageMagick < 7.1.2-26, < 6.9.13-51
Timeline
- 2026-06-26: advisory: GitHub Security Advisory published
- 2026-07-11: disclosed: NVD publication date