Skip to main content

ImageMagick CVE-2026-106573

| EUVDEUVD-2026-94392 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-10-07 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted MVG image to service
  2. Exploit
    ImageMagick invokes MVG decoder
  3. Execution
    Unbounded macro expansion in RenderMVGContent
  4. Impact
    CPU/time exhaustion stalls worker (DoS)

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 pass attacker-controlled MVG (Magick Vector Graphics) content to ImageMagick's drawing/rendering path (RenderMVGContent), e.g. any upload or conversion pipeline that renders MVG or images that invoke MVG primitives. The specific trigger is MVG macro expansion with no upper bound in versions prior to 7.1.2-31 (and 6.9.13-56). Per the CVSS vector (PR:N/UI:N), no authentication or user interaction is required, and no non-default configuration is implied by the description. The principal limiting factor is reachability: exploitation depends on the deployment actually accepting and rendering untrusted MVG-capable input; environments that restrict ImageMagick's enabled coders/policy (policy.xml) to disallow MVG, or that never process untrusted images, are not exposed. Impact is bounded to availability degradation (A:L), not data exposure or code execution.

Impact

This is a genuine but moderate-priority issue, not a top-tier emergency. The vendor CVSS of 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) correctly caps impact at availability-only with low magnitude: there is no confidentiality or integrity impact and no code execution - only CPU/time exhaustion from an unbounded MVG macro-expansion loop (CWE-400). The network vector and no-privilege, no-interaction metrics are realistic because ImageMagick is typically invoked server-side on attacker-supplied images, so a remote unauthenticated actor can usually reach the decoder. No EPSS score, KEV entry, or POC flag was supplied in the input: there is no public exploit identified at time of analysis and no evidence of active exploitation. The only exploitation-relevant artifact provided is the upstream patch commit (a fix, not weaponized exploit code). The A:L rating (degradation via an 'excessively long-running operation') rather than A:H (hard crash) suggests the practical effect is resource starvation/latency rather than a clean process kill, which is consistent with the macro-expansion limit the patch introduces. Net: prioritize for patching anywhere ImageMagick ingests untrusted images, but it ranks below any RCE or memory-corruption ImageMagick bug.

Exploit ScenarioDerived

An attacker uploads a crafted MVG (Magick Vector Graphics) file - or an image that triggers MVG rendering - to a web service that uses ImageMagick for thumbnailing or conversion. The MVG content abuses macro expansion so the RenderMVGContent routine performs an enormous number of expansions, consuming CPU and stalling the worker. With no public POC noted, exploitation would require crafting such input, but the low attack complexity (AC:L) and no authentication requirement (PR:N) make this straightforward for a motivated actor against any default MVG-processing pipeline.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Unbounded MVG macro expansion in ImageMagick versions prior to 7.1.2-31 and 6.9.13-56 lets a crafted Magick Vector Graphics image drive the MVG decoder into an excessively long-running render, degrading availability of any service that processes attacker-supplied MVG-capable content. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), the issue is remotely reachable without authentication or user interaction, but impact is limited to partial availability loss with no confidentiality or integrity effect. No confirmed active exploitation (CISA KEV) and no public exploit code were identified at time of analysis, and EPSS data was not provided; the practical risk is tied mainly to whether a deployment actually renders untrusted MVG input. The vendor has released fixes in ImageMagick 7.1.2-31 and 6.9.13-56.

RemediationAI

Vendor-released patch: ImageMagick 7.1.2-31 (from the 7.x branch) and ImageMagick 6.9.13-56 (from the 6.x branch) contain the fix; upgrade to at least those versions, or to the vendor-patched build supplied by your distribution/container base image vendor, which will backport the MacroExpansionLimit of 262144 and the accompanying macro_expansion counter in DrawInfo. Organizations that build ImageMagick themselves can also track the two upstream commits (c311471c4e4978494834c707b417bc033d95cc48 and 49560a1641f72a127e413b9861eca0997fde2b96) referenced from the advisory GHSA-qr53-hc3p-fc62. Where patching must be deferred, the most effective compensating control is to remove MVG from the processing surface: use ImageMagick's policy.xml to disable the MVG/MSVG/SVG coders (and any delegate that can emit MVG) for untrusted input paths - the trade-off is that legitimate vector-graphics rendering requests will be rejected, so this should be scoped to the uploader/converter service only. Additional layered controls include running conversions with strict resource limits (MAGICK_MEMORY_LIMIT, MAGICK_MAP_LIMIT, MAGICK_TIME_LIMIT), isolating the ImageMagick worker in a sandbox or container with CPU and wall-clock quotas so a long-running render is terminated rather than exhausting the host, rejecting non-image or unexpected formats at the API boundary before they reach the decoder, and rate-limiting or queue-bounding the affected conversion endpoint; these reduce blast radius but do not eliminate the unbounded-expansion behavior on an unpatched build.

Affected VersionsENISA

ImageMagick < 6.9.13-56
ImageMagick 7.0.0, < 7.1.2-31

Affected Packages

euvd imagemagick fix: 6.9.13-56, 7.1.2-31

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is a CWE-400 uncontrolled resource consumption in ImageMagick's MVG (Magick Vector Graphics) drawing path. MVG is ImageMagick's own text-based vector drawing language, and its renderer (RenderMVGContent in MagickCore/draw.c for the 7.x line, magick/draw.c for the 6.x line) supports macro expansion, allowing a drawing primitive to expand into further primitives recursively. Prior to the fix there was no cap on the number of expansions, so a small crafted MVG file could force a very large number of iterations, producing a long-running, CPU-bound operation. The upstream commits (c311471c4e4978494834c707b417bc033d95cc48 on ImageMagick and 49560a1641f72a127e413b9861eca0997fde2b96 on ImageMagick6) introduce a MacroExpansionLimit of 262144, add a macro_expansion counter to the DrawInfo structure, propagate it through CloneDrawInfo, and have RenderMVGContent abort with a DrawError ('NonconformingDrawingPrimitiveDefinition') once the limit is exceeded. The CPE entry cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* confirms ImageMagick itself as the affected product, and the tagged releases 7.1.2-31 and 6.9.13-56 are the fixed versions for the respective branches.

Know when Imagemagick gets its next vulnerability

  • 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 (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Server-side decoders process remote untrusted images (AV:N), crafting malicious MVG is straightforward (AC:L), no auth or interaction needed (PR:N/UI:N), and impact is availability degradation only (A:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:34 cve.org
MEDIUM 5.3

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31 and 6.9.13-56, a missing limit check in the MVG decoder allows a crafted MVG image to trigger an excessively long-running operation. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image-processing library across web and server stacks
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.4%
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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

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.

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2016-3718 MEDIUM POC
5.5 May 05

The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct

CVE-2016-3715 MEDIUM POC
5.5 May 05

The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi

CVE-2017-15277 MEDIUM POC
6.5 Oct 12

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc

CVE-2016-5841 CRITICAL POC
9.8 Dec 13

Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv

CVE-2016-3717 MEDIUM POC
5.5 May 05

The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi

CVE-2016-5118 CRITICAL
9.8 Jun 10

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit

CVE-2016-5689 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2016-5690 CRITICAL POC
9.8 Dec 13

The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to

CVE-2016-5691 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2017-14138 CRITICAL POC
9.8 Sep 04

ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer

CVE-2026-23876 CRITICAL POC
9.8 Jan 20

Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d

Vendor StatusVendor

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