Skip to main content

ImageMagick CVE-2026-46522

HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-05-18 https://github.com/ImageMagick/ImageMagick GHSA-7gg8-qqx7-92g5
7.5
CVSS 3.1 · Vendor: https://github.com/ImageMagick/ImageMagick
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify image upload endpoint using Magick.NET
  2. Delivery
    Craft malformed MIFF file targeting decoder loop
  3. Exploit
    Submit file to processing pipeline
  4. Execution
    Decoder enters infinite loop on worker thread
  5. Persist
    Repeat submissions exhaust worker pool
  6. Impact
    Service availability degraded or denied

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must accept attacker-controlled input that is passed to the ImageMagick MIFF decoder - typically any Magick.NET-based service that reads images from untrusted sources without restricting the coder list. No authentication is required (CVSS PR:N) and no user interaction is needed (UI:N), but exploitation is limited to denial of service: the bug yields CPU exhaustion only, with no memory corruption, information disclosure, or code execution path. Effective exploitation further requires that the deployment does not already enforce per-request CPU/time limits and that the MIFF coder has not been disabled in policy.xml; environments with strict resource quotas or coder allowlists will see degraded but bounded impact.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) reflects a pure availability impact reachable by unauthenticated remote attackers with low complexity - typical for server-side image processing pipelines that accept user-uploaded files. There is no EPSS, KEV, or SSVC data provided, and no public exploit code has been identified, so the realistic risk is elevated for any internet-facing service that ingests untrusted images via Magick.NET (thumbnailers, avatar uploaders, document converters) but lower for desktop-only or trusted-input deployments. Confidentiality and integrity are unaffected, so this is a denial-of-service issue rather than a pre-RCE primitive; impact scales with how easily an attacker can submit files and whether parsing runs in a shared, unbounded worker.

Exploit ScenarioDerived

An attacker uploads a specially crafted MIFF file to any application that processes images through Magick.NET - for example, a profile-picture uploader, a document conversion API, or a server-side thumbnailer. When the MIFF decoder parses the file, it enters an infinite loop and pins a CPU core at 100%; repeated submissions exhaust worker threads and render the service unresponsive to legitimate users. No public proof-of-concept has been identified at time of analysis, but the bug class is straightforward to weaponize once the malformed field is identified from the patch diff.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Denial of service in ImageMagick's MIFF (Magick Image File Format) decoder allows remote unauthenticated attackers to trigger an infinite loop and exhaust CPU resources by submitting a crafted MIFF file. The flaw affects Magick.NET bindings prior to version 14.13.1 across multiple platform builds (Q16, HDRI, OpenMP variants for x64/arm64/x86) and is tracked under GHSA-7gg8-qqx7-92g5. No public exploit identified at time of analysis, and the issue is not currently listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Magick.NET to version 14.13.1 or later, which contains the missing-check fix in the MIFF decoder; the GitHub Security Advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7gg8-qqx7-92g5 is the authoritative reference. Where immediate upgrade is not feasible, compensating controls include disabling the MIFF coder via an ImageMagick policy.xml entry (<policy domain="coder" rights="none" pattern="MIFF" />), which prevents decoding at the cost of breaking any legitimate MIFF workflow, and enforcing strict per-request CPU/time limits using MagickResourceLimits.Time or OS-level cgroup/ulimit constraints so a runaway decode is killed (trade-off: legitimate large images may also be terminated). Validating uploaded image MIME types and magic bytes server-side reduces but does not eliminate exposure, since MIFF detection is content-based.

Affected Packages

nuget magick.net-q16-anycpu fix: 14.13.1
nuget magick.net-q16-arm64 fix: 14.13.1
nuget magick.net-q16-hdri-anycpu fix: 14.13.1
nuget magick.net-q16-hdri-arm64 fix: 14.13.1
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.13.1
nuget magick.net-q16-hdri-openmp-x64 fix: 14.13.1
nuget magick.net-q16-hdri-x64 fix: 14.13.1
nuget magick.net-q16-hdri-x86 fix: 14.13.1
nuget magick.net-q16-openmp-arm64 fix: 14.13.1
nuget magick.net-q16-openmp-x64 fix: 14.13.1
nuget magick.net-q16-x64 fix: 14.13.1
nuget magick.net-q16-x86 fix: 14.13.1
nuget magick.net-q8-anycpu fix: 14.13.1
nuget magick.net-q8-arm64 fix: 14.13.1
nuget magick.net-q8-openmp-arm64 fix: 14.13.1
nuget magick.net-q8-openmp-x64 fix: 14.13.1
nuget magick.net-q8-x64 fix: 14.13.1
nuget magick.net-q8-x86 fix: 14.13.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 18 packages in nuget

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ImageMagick is a widely-deployed image processing library used to read, write, and manipulate images in over 100 formats. The MIFF format is ImageMagick's native uncompressed image container, parsed by the MIFF decoder in coders/miff.c. This vulnerability maps to CWE-400 (Uncontrolled Resource Consumption): the decoder lacks a sanity check on a loop terminator or counter when parsing a malformed MIFF stream, causing the parser to spin indefinitely. Because Magick.NET wraps the native ImageMagick library for .NET applications, all Q16 / Q16-HDRI / OpenMP NuGet builds inherit the underlying decoder defect.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/ImageMagick/ImageMagick) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/ImageMagick/ImageMagick).

CVSS VectorVendor: https://github.com/ImageMagick/ImageMagick

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Due to a missing check in the MIFF decoder a crafted file could cause an infinite loop resulting in CPU exhaustion.

Executive ViewAI

Why It Matters

Magick.NET image processing library versions prior to 14.13.1 contain a denial-of-service vulnerability that enables remote attackers to disable or severely degrade image processing services by submitting crafted files, creating operational disruption risk for organizations providing image handling capabilities. Any service using Magick.NET for image conversion, analysis, or manipulation is exposed to availability attacks. No patch has been released; immediate mitigation is required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable MIFF format support in Magick.NET configuration if not operationally required; (2) Implement strict file-type whitelisting and reject image uploads without valid format signatures; (3) Apply resource quotas and CPU throttling to image processing services; (4) Deploy network-level rate limiting on image upload endpoints.

Threat Intelligence Overview

EPSS Score
1.1%
Top 22% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS GHSA Vendor Exploit-DB GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:nuget/magick.net-q16-anycpu
pkg:nuget/magick.net-q16-hdri-anycpu
pkg:nuget/magick.net-q16-hdri-openmp-arm64
pkg:nuget/magick.net-q16-hdri-openmp-x64
pkg:nuget/magick.net-q16-hdri-arm64
pkg:nuget/magick.net-q16-hdri-x64
pkg:nuget/magick.net-q16-hdri-x86
pkg:nuget/magick.net-q16-openmp-arm64
pkg:nuget/magick.net-q16-openmp-x64
pkg:nuget/magick.net-q16-arm64
pkg:nuget/magick.net-q16-x64
pkg:nuget/magick.net-q16-x86
pkg:nuget/magick.net-q8-anycpu
pkg:nuget/magick.net-q8-openmp-arm64
pkg:nuget/magick.net-q8-openmp-x64
pkg:nuget/magick.net-q8-arm64
pkg:nuget/magick.net-q8-x64
pkg:nuget/magick.net-q8-x86

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy