Skip to main content

Magick.NET CVE-2026-45664

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-05-18 https://github.com/ImageMagick/ImageMagick GHSA-g5mf-wqq5-vwg6
5.3
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
    Submit crafted MNG file with excessive image frames via HTTP upload
  2. Delivery
    MNG coder parses file without enforcing list limit policy
  3. Exploit
    Library allocates memory and CPU for each embedded frame
  4. Execution
    Resource consumption grows unbounded
  5. Persist
    Server-side memory or CPU exhaustion
  6. Impact
    Denial of service for legitimate users

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 MNG-format image files and pass them to a vulnerable Magick.NET instance (any Q16 or Q16-HDRI NuGet variant below version 14.13.1). The vulnerability is specifically triggered by the MNG coder path - applications that only process JPEG, PNG, GIF, or other non-MNG formats are not affected, even with vulnerable library versions installed. CVSS PR:N/UI:N confirms no authentication or user interaction is required from the attacker's side. Exploitation is limited to availability impact (A:L) with no confidentiality or integrity consequence, meaning an attacker cannot read data or alter content - only degrade service. The effectiveness of a policy bypass further requires that the deployment relies on ImageMagick's list limit policy as a resource control; environments without such policies configured are still affected by unconstrained resource consumption but lack the false-protection dimension.

Impact

CVSS 5.3 Medium with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L reflects a network-reachable, low-complexity, unauthenticated attack with partial availability impact and no confidentiality or integrity consequence. Real-world risk is primarily relevant to applications that accept user-controlled file uploads and process them server-side using Magick.NET - a common pattern in web applications, CMS platforms, and media pipelines. The policy bypass angle is a compounding factor: organizations that have deployed ImageMagick security policies specifically to limit resource consumption may have a false sense of protection against this exact threat class. EPSS data was not provided in the input and cannot be cited. No KEV listing exists, and no public exploit or POC has been identified, which lowers immediate urgency. The A:L partial availability impact in CVSS suggests individual requests impose bounded but non-negligible load - sustained or parallel submission may be required for full service disruption, slightly increasing practical attack complexity beyond what AC:L implies.

Exploit ScenarioDerived

An attacker submits a crafted MNG file containing a large number of embedded image frames to a web application that processes user uploads via Magick.NET. Because the MNG coder does not enforce the configured list limit policy, the library loads and processes each frame sequentially, consuming memory and CPU proportional to the frame count. Repeated or concurrent submissions of such files drive the application server toward resource exhaustion, degrading or denying service to legitimate users. No public exploit code exists at time of analysis, but the straightforward nature of MNG format construction makes independent exploitation highly feasible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% 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 via policy bypass in Magick.NET's MNG coder allows remote unauthenticated attackers to exhaust server resources by submitting crafted MNG image files that circumvent the library's configured image list limit. All Magick.NET NuGet package variants (Q16, Q16-HDRI, and OpenMP/ARM64/x64/x86 flavors) below version 14.13.1 are confirmed vulnerable. No public exploit exists and the vulnerability is not in CISA KEV at time of analysis, but the network-accessible, zero-authentication attack surface makes this an accessible DoS primitive for any application accepting user-supplied image input.

RemediationAI

Upgrade all Magick.NET NuGet packages to version 14.13.1 or later - this is the vendor-released patch confirmed by GitHub Security Advisory GHSA-g5mf-wqq5-vwg6 (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-g5mf-wqq5-vwg6). If immediate upgrade is not feasible, the most targeted workaround is to block MNG file processing at the application layer by rejecting files with the MNG magic bytes (hex 8A 4D 4E 47 0D 0A 1A 0A) or the .mng extension before they reach Magick.NET - this eliminates the attack surface entirely with no side effects other than loss of MNG support. A secondary compensating control is to impose OS-level resource limits (Linux cgroups, ulimits, or Windows Job Objects) on the image processing worker to cap memory and CPU per process, which bounds DoS blast radius but does not prevent the policy bypass. Relying solely on ImageMagick policy.xml list limits is explicitly insufficient given the nature of this bypass.

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

MNG (Multiple-image Network Graphics) is a PNG-based container format supporting animated or multi-frame image sequences. ImageMagick and its .NET wrapper Magick.NET implement a 'list limit' security policy - configurable via policy.xml - designed to cap the number of images a single file can inject into the processing pipeline, bounding memory and CPU consumption. CWE-400 (Uncontrolled Resource Consumption) is the root cause: the MNG coder lacks a bounds check that enforces this policy at parse time, meaning a crafted MNG file embedding more image frames than the limit permits bypasses the control entirely. The affected packages span all NuGet distribution variants of Magick.NET (pkg:nuget/magick.net-q16-anycpu, magick.net-q16-hdri-anycpu, q16-hdri-openmp-arm64, q16-hdri-openmp-x64, q16-hdri-arm64, q16-hdri-x64, q16-hdri-x86, q16-openmp-arm64, q16-openmp-x64, q16-arm64), confirming this is a library-level defect propagated across all build targets.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SUSE MEDIUM
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
Low

DescriptionCVE.org

Because of a missing check in the MNG coder it would be possible to read more images than the list limit policy would allow resulting in excessive resource use.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS GHSA Vendor 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
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