Skip to main content

ImageMagick CVE-2026-116148

| EUVDEUVD-2026-109409 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-25 VulnCheck GHSA-g4fj-jwfv-j2rp
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Control drawing options in conversion request
  2. Exploit
    Inject MVG commands via MVG encoder
  3. Execution
    Victim pipeline processes generated MVG file
  4. Impact
    Injected drawing commands execute downstream

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the surrounding application or workflow lets the attacker supply drawing options (drawing primitives/parameters) that are passed to ImageMagick's MVG encoder, and that the resulting MVG file is subsequently processed or rendered - the CVSS UI:P reflects this required downstream processing step. The encoder's failure to neutralize user-specified drawing options before writing them into the MVG output is the core precondition. Limiting factors that reduce realistic risk: the vector is local (AV:L), the attacker must already have a channel to inject drawing-option strings (so deployments that do not expose drawing options to untrusted input are not affected), the output must be consumed downstream for the injected commands to take effect, and only affected versions (6.x before 6.9.13-58, 7.x before 7.1.2-33) are vulnerable. The available sources do not describe the precise sink or what the injected MVG commands can ultimately achieve beyond command injection into the MVG file.

Impact

This is a medium-severity issue (CVSS 4.0 base 4.8) rather than a top-tier emergency, and the signals are internally consistent. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N) describes a local-vector flaw with low attack complexity, no privileges required against ImageMagick itself, but requiring user/pipeline interaction (UI:P) and yielding only Low confidentiality impact on both the vulnerable and a subsequent system - no integrity or availability impact in the vendor scoring. No EPSS score was provided, the CVE is not listed in CISA KEV, and the input shows only vendor/advisory references (GHSA and a VulnCheck advisory write-up), not a verified working exploit, so exploitation status is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', which matches a real-but-not-urgent priority: patch on a normal maintenance cadence rather than as an emergency. The key caveat is the trigger precondition - the CVE describes a second-order injection that only matters when an application lets an attacker control the drawing options passed to the MVG encoder and then processes the generated MVG output; that data-flow dependency, plus AV:L and UI:P, is what keeps real-world risk moderate despite ImageMagick's very large deployment footprint.

Exploit ScenarioDerived

An application exposes ImageMagick drawing options (e.g., text, shapes, colors) to user input and uses them to produce an MVG file. An attacker embeds additional MVG drawing primitives in those options; because the MVG encoder writes the user-specified options into the output without neutralizing them, the injected commands become part of the generated MVG file and take effect when that file is subsequently processed or rendered. No public exploit identified at time of analysis; only vendor advisories are referenced.

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

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

Alert me

AnalysisAIv1 – Oct 25, 2026

MVG encoder injection in ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 lets an attacker who can supply drawing options write arbitrary MVG drawing commands into generated MVG output. The flaw is medium severity (CVSS 4.0 base 4.8; assessed CVSS 3.1 vector AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), requires a local attack path and a downstream step that processes the resulting MVG file, and affects applications that pass untrusted drawing options to ImageMagick. No public exploit identified at time of analysis; vendor fixes are available in 6.9.13-58 and 7.1.2-33.

RemediationAI

Upgrade ImageMagick to 6.9.13-58 or 7.1.2-33 (vendor-released patch). The GitHub security advisory GHSA-qq8x-fq3x-43h4 and the VulnCheck advisory document the fix. The sources do not describe a vendor workaround; the assessment notes that deployments which do not expose drawing options to untrusted input are not affected, so limiting who can supply drawing options to the MVG encoder and avoiding downstream processing of untrusted generated MVG files reduce exposure until upgrading is possible. No public exploit identified at time of analysis.

Affected VersionsENISA

ImageMagick 0 <6.9.13-58
ImageMagick 7.0.0-0 <7.1.2-33

Affected Packages

euvd imagemagick fix: 6.9.13-58, 7.1.2-33

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's MVG (Magick Vector Graphics) format is a text-based drawing language consumed by the MVG encoder and decoder. In affected releases the MVG encoder does not properly neutralize user-specified drawing options before writing them into generated MVG output, so an attacker who controls those option strings can inject arbitrary MVG drawing commands into the resulting file. The issue is tracked as CWE-79 (improper neutralization of input) and tagged XSS, though the concrete effect here is command injection into MVG content rather than a browser-rendered script context. The supplied CVSS 4.0 vector is local (AV:L), low complexity (AC:L), no privileges (PR:N), with user interaction (UI:P), and low confidentiality/integrity impact with scope change; the independent assessment matches this as CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The evidence does not describe the precise sink or what injected MVG commands can ultimately achieve beyond injection into the MVG file; exploitation also requires that the generated MVG output be subsequently processed or rendered.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 5.0 MEDIUM

Local because exploitation depends on controlling drawing options and a downstream processor rendering the output (UI:R); no privileges to ImageMagick itself; injected commands give scope-changed low confidentiality and integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 3.6 LOW

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Oct 25, 2026 - 14:01 EUVD
CVE Published
Oct 25, 2026 - 13:19 cve.org
MEDIUM 4.8

DescriptionCVE.org

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains an injection vulnerability in the MVG encoder, which does not properly neutralize user-specified drawing options before writing them into generated MVG output. Attackers who can supply drawing options can inject arbitrary MVG drawing commands into the resulting MVG file.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely-deployed image-processing library across web and server stacks
Data Quality
4 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.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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