Skip to main content
EPSS 1.8%top 22%

ImageMagick - Infinite Loop in the MIFF decoder can lead to CPU exhaustion

0
Medium
ExploitCVE-2026-46522localexploitcve
Published: 05/29/2026 (05/29/2026, 00:00:00 UTC)
Source: Exploit-DB RSS Feed
Vendor/Project: https://imagemagick.org
Product: https://imagemagick.org/download

Description

ImageMagick - Infinite Loop in the MIFF decoder can lead to CPU exhaustion

Affected software

Affected versions
>=7.0.0 <7.1.3ImageMagick 7.x, verified on 7.1.2-3 system

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 05:03:49 UTC

Technical Analysis

CVE-2026-46522 describes an infinite loop vulnerability in the MIFF image decoder component of ImageMagick 7.x, specifically affecting versions from 7.0.0 up to but excluding 7.1.3. This vulnerability can be triggered by specially crafted MIFF images, causing the decoder to enter an infinite loop and exhaust CPU resources. The vulnerability was verified on ImageMagick version 7.1.2-3. Public exploit code exists written in Python. No patch or official remediation details are provided in the available data.

Potential Impact

Successful exploitation results in CPU exhaustion on the affected system, potentially leading to denial of service conditions. The vulnerability requires local or controlled input of crafted MIFF images. There is no indication of code execution or data corruption from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory at https://imagemagick.org for current remediation guidance. Until a fix is available, avoid processing untrusted MIFF images or apply other operational controls to limit exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Cve
CVE-2026-46522
Version
ImageMagick 7.x, verified on 7.1.2-3 system
Vendor
https://imagemagick.org
Application
https://imagemagick.org/download
Author
Jose Rivas (bl4cksku11) & Zero Trust Offsec
Edb Id
52595
Has Exploit Code
true
Code Language
python

Indicators of Compromise

Exploit Source Code

Exploit Code

Exploit code for ImageMagick - Infinite Loop in the MIFF decoder can lead to CPU exhaustion

# Exploit Title: ImageMagick - Infinite Loop in the MIFF decoder can lead to CPU exhaustion 
# Google Dork: N/A
# Date: 2026-05-13
# Exploit Author: Jose Rivas (bl4cksku11) & Zero Trust Offsec
# Vendor Homepage: https://imagemagick.org/
# Software Link: https://imagemagick.org/download/
# Version: ImageMagick 7.x, verified on 7.1.2-3 system
# CVE : CVE-2026-46522
# GHSA: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7gg8-qqx7-92g5
"""
Description
-----------
coders/miff.c R
... (1849 more characters)
Code Length: 2,349 characters

Threat ID: 6a1a0debe29bf47b5017f5c6

Added to database: 05/29/2026, 22:06:35 UTC

Last enriched: 08/15/2026, 05:03:49 UTC

Last updated: 09/14/2026, 15:18:52 UTC

Views: 124

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses