Skip to main content

ImageMagick CVE-2026-56379

| EUVDEUVD-2026-38441 CRITICAL
Improper Encoding or Escaping of Output (CWE-116)
2026-06-23 VulnCheck GHSA-v772-658q-978p
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious SVG with injected MVG commands
  2. Delivery
    Submit SVG to app that uses ImageMagick
  3. Exploit
    SVG decoder converts input to MVG stream
  4. Execution
    Injected MVG drawing commands execute during render
  5. Impact
    Compromise confidentiality, integrity and availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

The target application must pass an attacker-supplied SVG file through ImageMagick's internal SVG decoder (coders/svg.c) so that it is converted to MVG and rendered - i.e. SVG processing must be enabled/allowed in ImageMagick's policy.xml. This is the concrete prerequisite: any pipeline that accepts SVG uploads or otherwise renders untrusted SVGs (thumbnailers, avatar/image processors, document converters) is exposed. Limiting factors reflected in the CVSS 4.0 vector: no authentication or user interaction is required against such a pipeline (PR:N/UI:N), but AC:H and AT:P indicate elevated attack complexity and an attack requirement, meaning exploitation is not fully deterministic and depends on target-side rendering behavior; environments that disable the SVG coder in policy.xml or never process untrusted SVGs are not exposed.

Impact

Signals are mixed. The CVSS 4.0 base score is 9.2 (Critical) with AV:N/PR:N/UI:N and High impact to confidentiality, integrity and availability, but crucially AC:H and AT:P - the vendor scoring acknowledges the attack is not trivially reliable and carries an attack requirement (e.g. the target must actually feed the SVG through the vulnerable decoder). This is corroborated by SSVC, which rates Exploitation as 'none' (no observed exploitation) and Technical Impact as only 'partial', while noting the attack is 'automatable: yes' - meaning that once a working technique exists it can be scaled across many targets. EPSS is low (0.91%, 55th percentile) and the CVE is not in CISA KEV, so this is currently a high-severity-but-not-yet-exploited issue rather than an active-attack emergency. The realistic priority is elevated by ImageMagick's ubiquity in image-processing pipelines and the 'automatable' rating, but tempered by AC:H/AT:P and the absence of any public PoC. Note the tension to verify: the headline 9.2 severity contrasts with SSVC 'partial' technical impact and low EPSS - treat this as an important patch-soon item rather than a drop-everything zero-day.

Exploit ScenarioDerived

An attacker uploads a specially crafted SVG to a web application that uses ImageMagick to generate thumbnails or convert images; when the server renders the file, injected MVG commands execute within the ImageMagick rendering context, compromising confidentiality, integrity and availability of the processing. No public PoC is currently available, and the CVSS AC:H/AT:P metrics indicate the attacker must satisfy specific conditions for reliable exploitation rather than a one-shot payload.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jul 02, 2026

Command injection in ImageMagick's SVG decoder (coders/svg.c) lets attackers smuggle arbitrary MVG (Magick Vector Graphics) drawing commands inside an SVG file that execute when the image is rendered, affecting versions before 7.1.2-15 and 6.9.13-40 (and the Magick.NET bindings before 14.10.3). Because ImageMagick frequently processes untrusted, user-uploaded images on servers, a crafted SVG can achieve high-impact abuse of the internal MVG rendering pipeline. There is no public exploit identified at time of analysis and it is not on CISA KEV; EPSS is low at 0.91% (55th percentile), but SSVC flags exploitation as automatable.

Earlier versions of this analysis (2)
v2 Jul 02, 2026 - 16:47 cvss changed CVSS 9.2

Command injection in ImageMagick's SVG decoder (versions before 7.1.2-15 and 6.9.13-40) lets a remote attacker embed arbitrary Magick Vector Graphics (MVG) drawing commands inside a crafted SVG file, which are then executed when the image is rendered or converted. Reported by VulnCheck, this affects any service that processes untrusted SVG input through ImageMagick (uploads, thumbnailers, conversion pipelines). No public exploit identified at time of analysis, EPSS is modest (0.91%, 55th percentile), and it is not in CISA KEV, but the full-impact CVSS 4.0 score of 9.2 reflects potential compromise of confidentiality, integrity, and availability.

v1 Jun 23, 2026 - 13:12

SVG-to-MVG command injection in ImageMagick's internal SVG decoder exposes all image-processing pipelines using mainline versions before 7.1.2-15 or legacy branch versions before 6.9.13-40, as well as Magick.NET NuGet packages before 14.10.3. Unauthenticated remote attackers can craft malicious SVG files with injected Magick Vector Graphics (MVG) commands that execute during rendering within the ImageMagick engine, following an exploitation pattern historically comparable to ImageTragick (CVE-2016-3714). No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the low-complexity network attack surface in a widely deployed image processing library warrants urgent prioritization for organizations accepting user-supplied SVG input.

RemediationAI

Vendor-released patch: upgrade ImageMagick to 7.1.2-15 or later on the 7.x branch, or 6.9.13-40 or later on the 6.x branch; the fixes correspond to upstream commits 9db96365ecab5de69cdec81b9359672b3a827aaa and f63c78b3828933f1cc7cf499390248981af765aa. For .NET consumers, upgrade Magick.NET to 14.10.3 or later. Red Hat users should apply the errata in RHSA-2026:32961 (https://access.redhat.com/errata/RHSA-2026:32961). If you cannot patch immediately, the highest-value compensating control is to disable SVG handling in ImageMagick via a policy.xml rule such as <policy domain="coder" rights="none" pattern="SVG"/> (and MSVG/MVG), which blocks the vulnerable decoder entirely at the cost of losing SVG rasterization support; alternatively, stop feeding untrusted SVGs to ImageMagick and validate/convert uploads through a hardened, sandboxed path. Refer to the GHSA advisory (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xpg8-7m6m-jf56) for authoritative fixed versions.

Affected VersionsENISA

ImageMagick 0 <7.1.2-15
ImageMagick 0 <6.9.13-40

Affected Packages

nuget magick.net-q16-anycpu fix: 14.10.3
nuget magick.net-q16-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-anycpu fix: 14.10.3
nuget magick.net-q16-hdri-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-openmp-x64 fix: 14.10.3
nuget magick.net-q16-hdri-x64 fix: 14.10.3
nuget magick.net-q16-hdri-x86 fix: 14.10.3
nuget magick.net-q16-openmp-arm64 fix: 14.10.3
nuget magick.net-q16-openmp-x64 fix: 14.10.3
nuget magick.net-q16-openmp-x86 fix: 14.10.3
nuget magick.net-q16-x64 fix: 14.10.3
nuget magick.net-q16-x86 fix: 14.10.3
nuget magick.net-q8-anycpu fix: 14.10.3
nuget magick.net-q8-arm64 fix: 14.10.3
nuget magick.net-q8-openmp-arm64 fix: 14.10.3
nuget magick.net-q8-openmp-x64 fix: 14.10.3
nuget magick.net-q8-x64 fix: 14.10.3
nuget magick.net-q8-x86 fix: 14.10.3
euvd imagemagick fix: 6.9.13-40, 7.1.2-15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 20 packages in nuget, euvd

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

Technical ContextAI · show details

ImageMagick internally converts SVG input into its own MVG (Magick Vector Graphics) intermediate drawing language before rasterization. The flaw is a CWE-116 (improper encoding/escaping of output) issue: attacker-controlled fields from the SVG are passed into the MVG command stream in coders/svg.c without adequate escaping, so an attacker can break out of the intended data context and inject additional MVG drawing directives that the renderer then executes. The affected component is the built-in SVG delegate/decoder rather than an external converter, so it triggers wherever ImageMagick's own SVG reader is used. The CPE data identifies imagemagick:imagemagick (all versions below the fixed releases) as affected, and the same code path is bundled in the Magick.NET wrappers.

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 9.2 NONE
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Untrusted SVG is processed remotely without auth or interaction (AV:N/PR:N/UI:N), but reliable injection depends on target rendering conditions (AC:H); MVG execution yields high C/I/A within the process scope (S:U).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat 8.1 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

4
Analysis Updated
Jul 02, 2026 - 16:47 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 02, 2026 - 16:47 vuln.today
v2 - CVSS changed
CVSS changed
Jul 02, 2026 - 16:37 NVD
9.2 (CRITICAL)
Patch available
Jun 23, 2026 - 14:17 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a command injection vulnerability in the SVG decoder that allows attackers to inject arbitrary MVG drawing commands. Attackers can craft malicious SVG files with injected Magick Vector Graphics commands that execute during rendering.

Executive ViewAI

Why It Matters

ImageMagick and Magick.NET contain a critical command injection vulnerability in SVG file processing affecting image uploads and automated image workflows; no public exploit identified at time of analysis. Organizations processing untrusted image files face immediate risk of complete server compromise; vendor patches are available.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 45% exploitable
Prevalence
High
ubiquitous image-processing library embedded in many server-side upload and thumbnail pipelines
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

1
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: 0
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Fixed

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