Skip to main content

ImageMagick EUVDEUVD-2026-94399

| CVE-2026-106578 MEDIUM
Free of Memory not on the Heap (CWE-590)
2026-10-07 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
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
    Image passed to ImageMagick MVG decoder
  3. Execution
    Miscomputed primitive extent triggers invalid free
  4. Impact
    Process crashes (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/render an image containing attacker-controlled MVG (Magick Vector Graphics) content through ImageMagick's RenderMVGContent path (MagickCore/draw.c), on versions prior to 7.1.2-31 (v7) or 6.9.13-56 (v6). The practical prerequisite is an application or workflow that automatically processes untrusted images (e.g., an upload handler, thumbnailer, or conversion service). Limiting factors: the CVSS HIGH attack complexity (AC:H) indicates the invalid free depends on specific primitive/coordinate conditions rather than firing deterministically; impact is confined to a process crash with no confidentiality or integrity effect, so there is no code execution or data exposure. If the deployment never passes untrusted or MVG-bearing images to ImageMagick, the issue is not reachable.

Impact

This is a moderate-severity denial-of-service issue, not a code-execution priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9) shows an availability-only impact with no confidentiality or integrity loss, reachable without privileges or user interaction but gated by HIGH attack complexity - consistent with CWE-590 (free of memory not on the heap), where triggering the invalid free typically depends on specific heap/parse state rather than a deterministic path. No EPSS score was provided, the CVE is NOT in CISA KEV, and no public exploit or POC was supplied; a patch commit diff is available but that demonstrates the fix, not a weaponized exploit. The AV:N rating is reasonable only in the common deployment where an application automatically feeds attacker-supplied images into ImageMagick; in isolation ImageMagick is a library/CLI, so the 'network' vector really means 'attacker controls the processed image.' Net assessment: a real but bounded risk - worst case is a crashed image-processing worker/request, with AC:H limiting reliable mass exploitation. Treat as routine-to-elevated patch hygiene, not an emergency, absent evidence of active exploitation.

Exploit ScenarioDerived

An attacker uploads or submits a crafted image containing malicious MVG (Magick Vector Graphics) content to a web service or pipeline that processes images with ImageMagick. When the MVG decoder in RenderMVGContent parses the primitive coordinates, a miscalculated extent leads to an invalid memory free, crashing the worker process. No public exploit code is identified at time of analysis, and the HIGH attack complexity means reliably triggering the fault may require tailoring the input to the target build.

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

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

Upgrade ImageMagick to 7.1.2-31 or 6.9.13-56 (or later) - these versions contain the fix that corrects the primitive extent check in RenderMVGContent (see commits 5d29c094 and bfe0117f). If immediate upgrade is not possible, the most direct compensating control is to disable the MVG coder for untrusted input using ImageMagick's policy.xml, for example by adding <policy domain="coder" rights="none" pattern="MVG" />; the trade-off is that legitimate MVG or SVG-based vector processing will fail. Additionally, run ImageMagick in a sandboxed, resource-limited environment and avoid passing attacker-controlled images to conversion or thumbnail services. Note that limiting delegate or external coders does not fully mitigate this specific decoder flaw. Refer to the vendor advisory GHSA-6xf5-c3jx-rp39 for further guidance.

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

The vulnerability resides in ImageMagick's MVG (Magick Vector Graphics) decoder, specifically in the RenderMVGContent function in MagickCore/draw.c (v7) and magick/draw.c (v6). When parsing MVG primitives, the code calls CheckPrimitiveExtent to ensure the internal point buffer is large enough; prior to the fix, the call used only the number_points value, omitting the coordinates offset. This causes an undersized allocation, and subsequent processing can free an invalid pointer or write beyond the allocation, leading to an invalid memory free (CWE-590). The upstream fix adds the coordinates and a constant to the extent check (number_points + coordinates + 1.0) in commits 5d29c09 for v7 and bfe0117 for v6. The attack surface is any workflow that decodes untrusted images with ImageMagick, such as a web upload handler, thumbnail generator, or automated image conversion service. Because the crash depends on specific MVG primitive/coordinate combinations, CVSS reflects high attack complexity (AC:H) and impact limited to availability (A:H, C:N/I:N).

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

Crafted image can be delivered remotely (AV:N) with no auth or interaction (PR:N/UI:N); the CWE-590 invalid free depends on specific heap state (AC:H) and only crashes the process (A:H, C/I:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/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 VectorVendor: GitHub_M

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

Lifecycle Timeline

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

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 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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
ubiquitous server-side image library in web apps, CMS, and upload pipelines
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
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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