Skip to main content

ImageMagick CVE-2026-106578

| EUVDEUVD-2026-94399 HIGH
Free of Memory not on the Heap (CWE-590)
2026-10-07 GitHub_M
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted MVG image to service
  2. Exploit
    ImageMagick invokes MVG decoder
  3. Execution
    Invalid memory free in RenderMVGContent
  4. Impact
    Process crash / denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Free memory management
Exploitation Conditions

Exploitation requires the target to decode an attacker-supplied image that embeds crafted MVG (Magick Vector Graphics) content, reaching the RenderMVGContent/CheckPrimitiveExtent coordinate-bounds path in ImageMagick's draw module; the affected builds are ImageMagick before 7.1.2-31 (7.x) and before 6.9.13-56 (6.x). The practical limiting factor is that an application must pass untrusted/externally-supplied images through ImageMagick's MVG rendering (typical of upload/thumbnail/conversion services); deployments that never process untrusted images, or that have upgraded to the fixed releases, are not exposed. No authentication (PR:N) and no explicit user interaction are required per the CVSS vector, but a vulnerable decoding operation on malicious input must occur.

Impact

This is a denial-of-service-only flaw (CWE-590, an invalid/improper memory free in the MVG decoder) whose confirmed impact is a process crash - reflected consistently across signals: the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) scores availability-only impact with no confidentiality or integrity loss, and CISA's SSVC framework rates Technical Impact as 'partial' with Exploitation 'none' and Automatable 'no'. The 7.5 'High' score is driven entirely by the network, unauthenticated, low-complexity reachability combined with A:H, not by any code-execution potential. Real-world urgency is moderate-to-low: EPSS is 0.40% (32nd percentile), there is no CISA KEV listing, and no public exploit was provided, so this is a high-CVSS-but-bounded-real-risk issue rather than an active emergency. One caveat to verify: although CVSS marks AV:N/UI:N, exploitation in practice requires the target to actually decode a crafted MVG image, so the 'network/no-interaction' rating assumes an automated image-processing pipeline - environments that do not process untrusted images are not exposed.

Exploit ScenarioDerived

An attacker uploads or submits a specially crafted image containing malicious MVG (Magick Vector Graphics) drawing content to a web service or application that uses ImageMagick for automated image processing (e.g., thumbnailing or conversion). When ImageMagick's RenderMVGContent path decodes the primitive coordinates, a bounds miscalculation triggers an invalid memory free that crashes the process, denying service. No public proof-of-concept was provided, though the fixing commits (CheckPrimitiveExtent bounds correction) are public and could guide reproduction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – Oct 21, 2026

ImageMagick builds prior to 7.1.2-31 and 6.9.13-56 contain an invalid memory free in the MVG (Magick Vector Graphics) decoder that aborts or crashes the process when a crafted image is parsed. Attackers reach it by supplying an image carrying malicious MVG drawing primitives to any application that renders, converts, or thumbnails untrusted images; the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H scores 7.5 with availability-only impact and no confidentiality or integrity loss. No public exploit identified at time of analysis, CISA SSVC records Exploitation 'none' and Automatable 'no', and EPSS sits at 0.40% (32nd percentile), so the flaw is primarily a realistic denial-of-service risk for image-processing pipelines rather than an imminent attack vector.

Earlier versions of this analysis (1)
v1 Oct 07, 2026 - 16:23 CVSS 5.9

ImageMagick versions prior to 7.1.2-31 (v7) and 6.9.13-56 (v6) contain a denial-of-service flaw in the MVG (Magick Vector Graphics) decoder where a crafted image can trigger an invalid memory free and crash the process. The issue requires the target to process an image with attacker-controlled MVG content (e.g., via an upload handler or conversion service); the HIGH attack complexity (AC:H) reflects that triggering the invalid free depends on specific primitive/coordinate conditions. The flaw is unauthenticated and remote (AV:N/PR:N) but causes only a process crash with no confidentiality or integrity impact; no public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, and patched versions 7.1.2-31 and 6.9.13-56 are available.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-31 or later, or 6.9.13-56 or later for the legacy branch, per GHSA-6xf5-c3jx-rp39 and the release tags (https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31, https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56), or apply the upstream commits 5d29c094020612dc8fb471b10fc1d1cc6e9e4378 (7.x) / bfe0117fd9742b3970383e000978d64e5e04372d (6.x) if backporting. Where immediate upgrading is not possible, disable the MVG coder in policy.xml ('<policy domain="coder" rights="none" pattern="MVG" />'), accepting that this also breaks SVG and other formats that internally route drawing through MVG; enable a restrictive policy that denies untrusted delegate coders (MSL, MVG, EPHEMERAL, URL, HTTPS, etc.) and set memory/map/disk/area resource limits so a crash is bounded. Because the flaw is a process-killing invalid free and not a memory-corruption primitive, additional practical controls are to run conversions in isolated, memory-capped containers or worker processes with automatic restart and rate limiting on image uploads, which contains availability impact but does not remove the underlying bug. Deployments that only process internally trusted images are not exposed, so restricting untrusted image input to a patched conversion service is a valid interim containment.

Affected VersionsENISA

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

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

MVG (Magick Vector Graphics) is ImageMagick's text-based drawing language, parsed by RenderMVGContent() in MagickCore/draw.c for the 7.x line and magick/draw.c for the legacy 6.x line. Before dispatching primitive rendering, that function calls CheckPrimitiveExtent() to verify the drawing state's coordinate buffer can hold the requested number of points. The vulnerable call passed only the point count, omitting the additional coordinate slots consumed by the current primitive, so an attacker-controlled MVG primitive could push writes past the end of the allocated coordinate array and subsequently trigger an invalid free - the CWE-590 class (free of memory not on the heap / improper free). The upstream fix is a one-line bounds correction that changes the extent check to 'number_points + coordinates + 1.0' in both repositories (commit 5d29c094020612dc8fb471b10fc1d1cc6e9e4378 for 7.x, bfe0117fd9742b3970383e000978d64e5e04372d for 6.x), forcing reallocation before the out-of-bounds write can occur. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* matches all pre-fix releases across both branches. Because the corruption manifests as an abort/crash rather than controlled memory reuse, the assessed impact stays availability-only (A:H, C:N/I:N/A:H) and CISA SSVC rates technical impact 'partial'.

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 MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Crafted image reaches the decoder over network-facing pipelines with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is a crash only, so C:N/I:N/A:H.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 21, 2026 - 17:00 vuln.today
v2 - CVSS changed
Severity Changed
Oct 21, 2026 - 16:54 NVD
MEDIUM HIGH
CVSS changed
Oct 21, 2026 - 16:54 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:41 cve.org
MEDIUM 5.9

DescriptionNVD

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 crafted image can cause an invalid memory free in the MVG decoder and crash the process. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

Technical POC Analysis

The bug class is CWE-590 (Free of Memory not on the Heap), per the CVE record supplied with this task.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-106578 affects ImageMagick versions prior to 7.1.2-31 and 6.9.13-56, allowing a crafted image to crash image-processing services that render, convert, or thumbnail untrusted files. The impact is availability-only: no confidentiality or integrity loss is reported, and no public exploit identified at time of analysis. Leadership should prioritize patching internet-facing and automated image pipelines because repeated crashes could cause service disruption, failed customer workflows, and operational backlog.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
ImageMagick is ubiquitous in web image-processing pipelines and server stacks
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

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

Vendor StatusVendor

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