CVE-2026-61857 ImageMagick before 7.1.2-26 Heap Use-After-Free via XMP
Attackers can cause application crashes by crafting malicious image files with specially crafted XMP data in ImageMagick.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-61857?
CVE-2026-61857 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, published on 11 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability caused by missing null check when parsing XMP profiles. Attackers can craft malicious image files with specially crafted XMP data to trigger the vulnerability and cause application crashes.
Weakness: CWE-252
Which versions are affected by CVE-2026-61857?
34 open source packages ship an affected version, including Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU and Magick.NET-Q16-HDRI-OpenMP-arm64. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
Magick.NET-Q16-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q16-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet | All versions | 14.15.0 |
28 more packages
Magick.NET-Q16-HDRI-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-x86 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-HDRI-x86 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-OpenMP-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-OpenMP-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-OpenMP-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-OpenMP-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-x86 NuGet | All versions | 14.15.0 |
Magick.NET-Q16-x86 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q8-AnyCPU NuGet | All versions | 14.15.0 |
Magick.NET-Q8-OpenMP-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-OpenMP-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-OpenMP-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-OpenMP-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-arm64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-x64 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-x86 NuGet | All versions | 14.15.0 |
Magick.NET-Q8-x86 NuGet | All versions | 14.15.0 |
Products include Imagemagick Imagemagick.
How do I fix CVE-2026-61857?
Upgrade Magick.NET-Q16-AnyCPU to 14.15.0 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-61857 being exploited?
There is no known exploitation of CVE-2026-61857 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as DEBIAN-CVE-2026-61857, ECHO-5b6e-a909-df8f, GHSA-84mh-5fq7-7fx5, GHSA-qh5g-q395-cx4j, JLSEC-2026-1063, MINI-fc2m-fx28-3fqr and 1 more.