Skip to main content

ImageMagick EUVDEUVD-2026-40450

| CVE-2026-56377 MEDIUM
Path Traversal (CWE-22)
2026-06-30 VulnCheck GHSA-r8hq-c3qh-xq9j
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted image to conversion endpoint
  2. Exploit
    Trigger incorrect policy path validation
  3. Execution
    Bypass policy.xml path restriction
  4. Impact
    Write or truncate file outside intended boundary

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires an ImageMagick installation before 7.1.2-24 that has a security policy (policy.xml) configured with path restrictions - the vulnerability lies specifically in the incorrect enforcement of those restrictions. The CVSS PR:L designation indicates low-privilege access to the conversion service is required; a service that accepts unauthenticated image submissions would lower the barrier further. The primary exploitation surface described is a sandboxed network-accessible image conversion service processing untrusted input. Limiting factors include: the attacker can only create or truncate files (no arbitrary read, no code execution per VC:N), impact is bounded to filesystem locations accessible to the ImageMagick process user, and systems not using policy.xml path enforcement or those running patched versions (7.1.2-24+) are unaffected. The CVSS AV:L versus the description's 'remote attackers' framing is an unresolved discrepancy - verify with the vendor advisory before determining whether local or network access is the operative vector.

Impact

The vendor-assigned CVSS 4.0 score is 4.8, with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N, reflecting limited scope: local vector, no confidentiality impact, low integrity impact (file write/truncate only), and no availability impact. A material conflict exists between the AV:L designation and the description's explicit framing of 'remote attackers' exploiting 'sandboxed conversion services' - this should be verified against the GitHub advisory (GHSA-gm48-c7f2-v67p) before scoring decisions are made. No EPSS data was provided in the source intelligence, and the vulnerability does not appear in CISA KEV. No public POC code was identified. Real-world risk is moderate for web applications that expose ImageMagick-backed conversion endpoints and rely on policy.xml for path sandboxing, since the vulnerable component is the policy enforcement mechanism itself - supplementary OS-level controls (AppArmor, SELinux, container isolation) are the meaningful defense until patching. For deployments without network-exposed conversion surfaces, risk is materially lower.

Exploit ScenarioDerived

An attacker submits a crafted image file to a network-accessible ImageMagick-backed conversion service. During processing, the malformed input triggers the incorrect policy path check, causing ImageMagick to reference a file path outside the boundaries defined in policy.xml. This allows the attacker to create a new file or truncate an existing one - such as a web application configuration file or an upload destination - accessible to the conversion process's runtime user, potentially enabling secondary exploitation such as web shell placement or application configuration corruption.

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

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

Alert me

AnalysisAIv1 – Jun 30, 2026

ImageMagick before 7.1.2-24 fails to correctly enforce path restrictions configured in its security policy (policy.xml), enabling file creation and truncation outside designated filesystem boundaries. In sandboxed image conversion services - a common deployment pattern for web applications accepting user-submitted images - this incorrect policy check can be exploited by attackers who submit crafted images to write arbitrary files accessible to the conversion process. No public exploit has been identified at time of analysis and this is not listed in CISA KEV, but the wide use of ImageMagick in web application stacks makes the affected population substantial.

RemediationAI

Upgrade to ImageMagick 7.1.2-24 or later, as documented in the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gm48-c7f2-v67p. Until patching is complete, note that policy.xml path restrictions alone are insufficient as a compensating control because the policy check itself is the vulnerable component. Instead, enforce filesystem confinement at the OS level using AppArmor or SELinux to restrict the ImageMagick process user to only the directories it legitimately requires - this provides independent enforcement orthogonal to ImageMagick's own policy engine. Running conversion services inside minimal containers or chroot environments limits the blast radius of any unauthorized file writes to the container's filesystem. Restricting coder access via policy.xml to known-safe formats (disabling MVG, SVG, MSL, and similar delegate-invoking formats) reduces the attack surface of the conversion pipeline more broadly, though it does not directly address the path validation flaw. These mitigations carry the trade-off of potential conversion failures if format or path restrictions are overly aggressive.

Affected VersionsENISA

ImageMagick 0 <7.1.2-24
ImageMagick 0 <6.9.13-48

Affected Packages

euvd imagemagick fix: 6.9.13-48, 7.1.2-24

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 (CPE: cpe:2.3:a:imagemagick:imagemagick) is a widely used open-source image manipulation toolkit. It supports a security policy framework via policy.xml, which allows operators to restrict accessible file paths, image coders, and resource limits - a mechanism commonly relied upon by sandboxed multi-tenant conversion pipelines. The root cause is CWE-22 (Path Traversal): the path validation logic in the policy enforcement layer does not correctly evaluate configured path restrictions, allowing traversal to filesystem locations that policy.xml was intended to prohibit. The provided CVSS 4.0 vector specifies AV:L/PR:L, implying the attack requires at minimum low-privilege access to the service or local environment; however, the description explicitly references remote attackers via network-accessible conversion services - a discrepancy that warrants vendor clarification.

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

AV:N reflects description's explicit remote attacker scenario via conversion services; A:L added since file truncation can disrupt dependent application components.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 02:16 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
High
widely deployed image processing library across web application stacks
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
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
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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: Moderate
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 Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed

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