CVE-2026-46522: ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion

Published May 18, 2026
·
Updated

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

33 affected componentsFixes available
nuget/magick.net-q8-x86<14.13.1
14.13.1
nuget/magick.net-q8-x64<14.13.1
14.13.1
nuget/magick.net-q8-arm64<14.13.1
14.13.1
nuget/magick.net-q8-openmp-x64<14.13.1
14.13.1
nuget/magick.net-q8-openmp-arm64<14.13.1
14.13.1
nuget/magick.net-q8-anycpu<14.13.1
14.13.1
nuget/magick.net-q16-x86<14.13.1
14.13.1
nuget/magick.net-q16-x64<14.13.1
14.13.1
nuget/magick.net-q16-arm64<14.13.1
14.13.1
nuget/magick.net-q16-openmp-x64<14.13.1
14.13.1
nuget/magick.net-q16-openmp-arm64<14.13.1
14.13.1
nuget/magick.net-q16-hdri-x86<14.13.1
14.13.1
nuget/magick.net-q16-hdri-x64<14.13.1
14.13.1
nuget/magick.net-q16-hdri-arm64<14.13.1
14.13.1
nuget/magick.net-q16-hdri-openmp-x64<14.13.1
14.13.1
nuget/magick.net-q16-hdri-openmp-arm64<14.13.1
14.13.1
nuget/magick.net-q16-hdri-anycpu<14.13.1
14.13.1
nuget/magick.net-q16-anycpu<14.13.1
14.13.1
ImageMagick ImageMagick<6.9.13-48
ImageMagick ImageMagick>=7.0.0-0<7.1.2-23
alpine/imagemagick<7.1.2.24-r0
7.1.2.24-r0
alpine/imagemagick<7.1.2.23-r0
7.1.2.23-r0
All of the following
azurelinux/imagemagick<1:7.1.2.32-6.azl4
1:7.1.2.32-6.azl4
Microsoft Azure Linux=4.0
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u138:6.9.11.60+dfsg-1.6+deb12u108:7.1.1.43+dfsg1-1+deb13u98:7.1.2.23+dfsg1-1
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick<8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Magick.NET-Q8-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  2. Upgrade

    Upgrade nuget/Magick.NET-Q8-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  3. Upgrade

    Upgrade nuget/Magick.NET-Q8-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  4. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  5. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  6. Upgrade

    Upgrade nuget/Magick.NET-Q8-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  7. Upgrade

    Upgrade nuget/Magick.NET-Q16-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  8. Upgrade

    Upgrade nuget/Magick.NET-Q16-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  9. Upgrade

    Upgrade nuget/Magick.NET-Q16-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  10. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  11. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  12. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  13. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  14. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  15. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  16. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  17. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  18. Upgrade

    Upgrade nuget/Magick.NET-Q16-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  19. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.24-r0
  20. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.23-r0
  21. Upgrade

    Upgrade azurelinux/ImageMagick to a version that resolves this vulnerability.

    Fixed in 1:7.1.2.32-6.azl4
  22. Upgrade

    Upgrade debian/imagemagick to 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
  23. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17
  24. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.1.2.23
  25. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.9.13-48

Event History

May 18, 2026
Advisory Published
via GitHub·08:37 PM
Data Sourced
via GitHub·08:37 PM
DescriptionSeverityWeaknessAffected Software
May 29, 2026
Exploit Published
via ExploitDB·12:00 AM
Jun 10, 2026
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·10:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Jun 11, 2026
Data Sourced
via NVD·06:41 PM
Affected Software
Jun 30, 2026
Updated
via NVD·03:20 AM
SeverityWeakness
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software
Data Sourced
via Microsoft·07:05 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-46522?

CVE-2026-46522 is considered a critical vulnerability due to its potential for causing CPU exhaustion.

2

How do I fix CVE-2026-46522?

To remediate CVE-2026-46522, upgrade to version 14.13.1 of the affected Magick.NET packages.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203