CVE-2026-46522: ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion
Due to a missing check in the MIFF decoder a crafted file could cause an infinite loop resulting in CPU exhaustion.
Other sources
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2.23 and 6.9.13-48, due to a missing check in the MIFF decoder, a crafted file could cause an infinite loop resulting in CPU exhaustion. Versions 7.1.2.23 and 6.9.13-48 fix the issue.
— Red Hat
ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nuget/Magick.NET-Q8-x86to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q8-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q8-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q8-OpenMP-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q8-OpenMP-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q8-AnyCPUto a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-x86to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-OpenMP-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-OpenMP-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-x86to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-OpenMP-x64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-OpenMP-arm64to a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-HDRI-AnyCPUto a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
nuget/Magick.NET-Q16-AnyCPUto a version that resolves this vulnerability.Fixed in 14.13.1 - Upgrade
Upgrade
alpine/imagemagickto a version that resolves this vulnerability.Fixed in 7.1.2.24-r0 - Upgrade
Upgrade
alpine/imagemagickto a version that resolves this vulnerability.Fixed in 7.1.2.23-r0 - Upgrade
Upgrade
azurelinux/ImageMagickto a version that resolves this vulnerability.Fixed in 1:7.1.2.32-6.azl4 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.3+deb11u13Fixed in 8:6.9.11.60+dfsg-1.6+deb12u10Fixed in 8:7.1.1.43+dfsg1-1+deb13u9Fixed in 8:7.1.2.23+dfsg1-1 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.1.2.23 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.9.13-48
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46522?
CVE-2026-46522 is considered a critical vulnerability due to its potential for causing CPU exhaustion.
How do I fix CVE-2026-46522?
To remediate CVE-2026-46522, upgrade to version 14.13.1 of the affected Magick.NET packages.
What effect does CVE-2026-46522 have on my system?
CVE-2026-46522 can lead to an infinite loop when parsing crafted files, resulting in performance degradation or system unavailability.
Which software versions are impacted by CVE-2026-46522?
CVE-2026-46522 affects versions of Magick.NET up to 14.13.1 for various architectures and configurations.
Is there a workaround for CVE-2026-46522?
There are no known workarounds for CVE-2026-46522; the only solution is to upgrade to the latest version that fixes the vulnerability.