Junglewise Threat Intelligence

CVE-2026-61857: ImageMagick heap use-after-free in XMP profile parsing

CVE-2026-61857 · Severity: low · CVSS 3.7 · Published 2026-07-11

Technologies: Magick.NET-Q16-OpenMP-arm64 (NuGet), Magick.NET-Q16-AnyCPU (NuGet), Magick.NET-Q16-HDRI-AnyCPU (NuGet), Magick.NET-Q8-x86 (NuGet), Magick.NET-Q8-AnyCPU (NuGet), Magick.NET-Q16-arm64 (NuGet), Magick.NET-Q16-OpenMP-x64 (NuGet), Magick.NET-Q16-HDRI-arm64 (NuGet), Magick.NET-Q16-HDRI-x86 (NuGet), Magick.NET-Q16-HDRI-x64 (NuGet), Magick.NET-Q8-OpenMP-arm64 (NuGet), Magick.NET-Q8-OpenMP-x64 (NuGet), ImageMagick, Magick.NET-Q16-x64 (NuGet), Magick.NET-Q8-arm64 (NuGet), Magick.NET-Q8-x64 (NuGet), Magick.NET-Q16-x86 (NuGet), Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet). Vendors: NuGet, ImageMagick.

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

References

Related threats