Skip to main content

ImageMagick CVE-2026-109275

| EUVDEUVD-2026-97719 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-10-12 VulnCheck GHSA-cfh4-3vw6-vcfq
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 to image pipeline
  2. Delivery
    Trigger PostScript text/font rendering path
  3. Exploit
    Inject malicious font name into PostScript stream
  4. Execution
    Influence PostScript interpreter execution
  5. Impact
    Low-impact integrity/availability compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires that ImageMagick be built and invoked with a PostScript renderer (a Ghostscript delegate) and that the processed MVG actually reaches the RenderPostscript text-rendering path - the vulnerable code builds a PostScript stream from a draw_info->font value, so a crafted MVG must set a malicious font name containing PostScript-control characters. This precondition is reflected by AT:P in the vector. Limiting factors: if ImageMagick renders text via FreeType instead of the PostScript delegate, or if no Ghostscript delegate is configured, the path is not reached; no authentication (PR:N) or user interaction (UI:N) is required otherwise, and the patch's alphanumeric-plus-'-_.' font-name whitelist is what closes the injection.

Impact

This is a medium-severity issue (vendor CVSS 4.0 base 6.3) that should be treated as a moderate, conditional priority rather than an emergency. The positive signals are AV:N (network reachable) and PR:N/UI:N (no authentication or user interaction needed), which fit the common pattern of ImageMagick processing attacker-supplied images in web upload pipelines. However, several factors pull real-world risk down: the 4.0 vector carries AT:P (a specific attack requirement must be present - here, that a PostScript renderer/Ghostscript delegate is actually used for rendering), and impact is explicitly limited to VI:L and VA:L with VC:N (no confidentiality impact and only low integrity/availability impact), not full RCE. There is no EPSS score provided, the CVE is not listed in CISA KEV, and no public proof-of-concept is referenced, so exploitation status is 'no public exploit identified at time of analysis.' Note a signal tension worth verifying: the description frames this as 'code injection into the PostScript rendering path,' which colloquially suggests command execution, yet the vendor scored only low integrity/availability and no confidentiality - likely because modern Ghostscript sandboxing (-dSAFER) and the alphanumeric font-name whitelist in the patch constrain the achievable impact. Treat the low impact scores as vendor-assessed, and verify achievable impact against your specific Ghostscript/delegate configuration before downgrading.

Exploit ScenarioDerived

An attacker uploads a crafted MVG file to a web application or service that uses ImageMagick with a PostScript renderer (Ghostscript delegate) to rasterize or convert images. When ImageMagick decodes the MVG and renders text, a malicious font name is injected unsanitized into the generated PostScript stream, allowing the attacker to influence the PostScript rendering path. No public exploit code is referenced in the provided data, and exploitation only succeeds when the PostScript rendering path is actually invoked.

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

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

Alert me

AnalysisAIv1 – Oct 12, 2026

Code injection through crafted MVG (Magick Vector Graphics) drawing files can reach ImageMagick's PostScript rendering path, where an attacker-controlled font name is embedded into a generated PostScript stream and handed to a Ghostscript delegate. The flaw affects ImageMagick 6.x before 6.9.13-57 and 7.x before 7.1.2-32 and is reachable by unauthenticated remote attackers (PR:N, UI:N) who can cause a malicious MVG file to be decoded, but only when ImageMagick is built with a PostScript renderer and the text-rendering call actually takes the RenderPostscript path rather than FreeType (attack requirements: present). Resulting impact is limited to integrity and availability of the conversion process (no confidentiality loss); there is no public exploit identified at time of analysis, and the vendor rates the issue medium at CVSS 4.0 base 6.3, so it is a moderate, conditional priority rather than an emergency.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 6.9.13-57 or 7.1.2-32, which add the IsValidPostscriptFontname() whitelist; if building from source, apply commits 6cfb8d8c65bb0aba49903589b444f45ea074a226 (7.x) or c9e9c3a84945d698e8c4e849ec858dc914397181 (6.x) and see the advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-233r-2p53-wqf5. Where immediate upgrading is not possible, the practical compensating controls target the precondition (AT:P): remove or disable the Ghostscript delegate so the RenderPostscript path is never reached, e.g. via a policy.xml entry such as <policy domain="delegate" rights="none" pattern="gs"/> or by uninstalling Ghostscript in the image-processing container - the trade-off is that PostScript/EPS/PDF rendering and conversion stop working. Similarly, blocking or sanitizing MVG input at the application boundary (rejecting .mvg uploads or font-name directives) removes the injection vector but breaks legitimate vector-drawing workflows, and forcing text rendering through FreeType avoids the vulnerable code at the cost of possible font-output differences. Regression testing after upgrading should focus on MVG text annotations and any PostScript delegate configuration.

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's MVG decoder parses vector drawing commands, including text annotations whose font name is carried in draw_info->font. When text is rendered through the PostScript delegate, MagickCore/annotate.c (magick/annotate.c in the 6.x branch) builds a PostScript program string and passes the font name into it; the pre-patch guard only rejected a NULL/empty font name or one containing '/', leaving other PostScript metacharacters usable for injecting additional PostScript statements. This is an instance of CWE-74 (improper neutralization of special elements in output), i.e. an injection flaw rather than a memory-safety bug. The upstream fix introduces IsValidPostscriptFontname(), which whitelists only alphanumeric characters plus '-', '_' and '.', rejecting everything else before the PostScript stream is constructed. Reachability depends on configuration: the vulnerable code requires a Ghostscript delegate and a rendering path that goes through RenderPostscript; installations that render text via FreeType, or that have no PostScript delegate configured, do not hit it. The affected CPEs (cpe:2.3:a:imagemagick:imagemagick) cover both the 6.x and 7.x lines with wildcard versions.

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:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H reflects the required PostScript-delegate precondition (the 4.0 AT:P), with no confidentiality and only low integrity/availability impact.

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

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
Low
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 a code injection vulnerability in the MVG decoder when a PostScript renderer is used. Attackers can supply a crafted MVG file that, when decoded, injects code into the PostScript rendering path.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
High
ImageMagick is a widely deployed image-processing library across web servers and apps
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.3%
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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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