Skip to main content

ImageMagick EUVDEUVD-2026-97708

| CVE-2026-109264 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-10-12 VulnCheck GHSA-3xv5-cm4v-6wpv
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted MVG/SVG file to processing service
  2. Delivery
    ImageMagick MVG decoder parses input
  3. Exploit
    Nested image references recurse uncontrolled
  4. Execution
    Program stack exhausted
  5. Impact
    Worker process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires the target application to pass an attacker-controlled MVG file - or an SVG that invokes MVG rendering - through ImageMagick's MVG decoder; the crafted file must contain nested/recursive image or drawing references deep enough to exhaust the stack. The MVG/SVG coders are present in default ImageMagick builds, so no special configuration is needed, but the application must actually route untrusted input into image decoding (e.g., an upload, conversion, or thumbnailing pipeline). Limiting factors: impact is confined to a denial of service (process crash) with no confidentiality or integrity effect and no code execution; the AT:P metric reflects that the vulnerable decode path must be reached, so deployments that never process MVG/SVG content or that run ImageMagick only on trusted local files have minimal realistic exposure.

Impact

This is a medium-severity denial-of-service issue (CVSS 4.0 base 6.3), not a critical priority. The strongest signals are consistent and point to limited impact: CVSS impact is availability-only (VC:N/VI:N/VA:L) with no confidentiality or integrity effect, and CWE-674 (uncontrolled recursion) producing stack exhaustion aligns with a process crash rather than code execution. The vector is network-reachable and unauthenticated (AV:N/PR:N/UI:N), which raises exposure, but the AT:P (attack requirement present) metric indicates exploitation is conditioned on the target actually routing attacker-controlled input through the vulnerable MVG decoder. There is no EPSS score, no CISA KEV listing, and no public exploit code supplied in the input, so there is no evidence of active exploitation - treat this as a patch-in-normal-cycle item rather than an emergency, though its high real-world prevalence (ImageMagick is extremely common in server-side image pipelines) argues for timely patching. Signals are internally consistent; the only caveat is that AV:N assumes ImageMagick is exposed to remote/untrusted input (e.g., upload processing), whereas a purely local CLI use case would effectively be local attack surface - verify against your actual deployment.

Exploit ScenarioDerived

An attacker uploads a crafted MVG file (or an SVG that drives MVG drawing) containing deeply nested recursive image/drawing references to a web service that uses ImageMagick to convert or thumbnail user-supplied images. When ImageMagick's MVG decoder parses the file, recursion depth grows until the program stack is exhausted and the worker process crashes, denying service to legitimate users. No public exploit code was identified in the provided data, and the impact is limited to a crash (no code execution).

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 12, 2026

Uncontrolled recursion in ImageMagick's MVG/SVG decoding path allows a crafted image file with deeply nested image or drawing references to exhaust the process stack and crash the application, producing a denial of service. All ImageMagick releases before 6.9.13-57 on the legacy 6.x branch and before 7.1.2-32 on the 7.x branch are affected, and the MVG/SVG coders ship in default builds, so exposure is determined by whether a deployment routes untrusted input into ImageMagick's decoder pipeline (upload handling, conversion, thumbnailing). No public exploit code has been identified at time of analysis, this CVE is not in CISA KEV, and the CVSS 4.0 base score of 6.3 with an assessed CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L reflects a medium-severity availability-only impact with no confidentiality, integrity, or code-execution consequences.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 6.9.13-57 or later on the 6.x branch, or 7.1.2-32 or later on the 7.x branch; the fixes are the commits 6ff963c14ccb5fefb4eb8654c8b0219033df2b20 (7.x) and d4f06dcca7ad99d639af85bc347ad9fdfdcec8e2 (6.x), with details in advisory GHSA-pmqj-84pr-qc7c. If immediate upgrade is not possible, the most effective compensating control is to prevent untrusted content from reaching the vulnerable coders by adding a policy.xml rule that disables the MVG and SVG coders (for example, policy domain="coder" rights="none" pattern="MVG" plus the corresponding SVG/MSVG patterns); the trade-off is that legitimate SVG rasterization and MVG rendering in that pipeline will fail, so this should be scoped to services that do not require those formats. Because the flaw only aborts the process, run ImageMagick conversions in an isolated, supervised subprocess with CPU/memory timeouts and automatic restart so a crash is contained rather than taking down the parent service, and apply OS-level sandboxing (seccomp/AppArmor) plus input-type allow-listing at the application edge so unexpected image formats are rejected before decoding; note that stack-size limits only change the nesting depth needed to crash and are not a substitute for patching. Deployments that only process trusted local files have minimal realistic exposure, since the AT:P metric reflects that the vulnerable decode path must actually be reached.

Affected VersionsENISA

ImageMagick 7.0.0-0 <7.1.2-32
ImageMagick 0 <6.9.13-57

Affected Packages

euvd imagemagick fix: 6.9.13-57, 7.1.2-32

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

ImageMagick decodes files through pluggable coder modules, and its Magick Vector Graphics (MVG) and SVG coders can reference further images or drawing primitives, causing re-entrant calls into ReadImage. The root cause is CWE-674 (Uncontrolled Recursion): the recursion depth of these nested decode operations was not bounded, so a crafted MVG file (or an SVG that triggers MVG rendering) containing sufficiently deep nested references grows the C call stack until it overflows and the process aborts. The upstream fix adds a coder_depth counter to the ImageInfo structure, initializes it to zero in GetImageInfo, propagates it through CloneImageInfo, and checks it in ReadImage against MagickMaxRecursionDepth, raising a CoderError ('ImageRecursionDepthExceeded') and returning NULL once the limit is reached. DrawPrimitive was also changed to clone the caller's image_info (CloneImageInfo(draw_info->image_info)) instead of creating a fresh one via AcquireImageInfo, ensuring nested coder invocations inherit the accumulated depth. The same commits remove a legacy per-thread splay-tree guard in coders/svg.c that tracked thread filenames to detect 'VectorGraphicsNestedTooDeeply', replacing that filename-based heuristic with the depth counter. The CPE data confirms both the 6.x and 7.x product lines (cpe:2.3:a:imagemagick:imagemagick) are affected.

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 (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Attacker fully controls the crafted input file so AC:L and no auth (PR:N/UI:N); impact is a single-process crash, so availability-only and partial (A:L), with C:N/I:N.

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 3.7 LOW

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains uncontrolled recursion in the MVG decoder that can exhaust the program stack. An attacker who controls a file name processed by ImageMagick can trigger a stack overflow that crashes the process, causing a denial of service.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image-processing library in server-side upload/conversion pipelines
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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