Skip to main content

ImageMagick CVE-2026-61858

| EUVDEUVD-2026-43187 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-07-11 VulnCheck GHSA-26m2-2whw-vfv9
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain local or application-layer access
  2. Delivery
    Craft APNG input or delegate invocation
  3. Exploit
    Trigger APNG encoder or external delegate in ImageMagick
  4. Execution
    Missing validation fails to check resolved path against policy.xml
  5. Impact
    Write file to policy-restricted filesystem path

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires the attacker to have local system access with at least low-level privileges sufficient to invoke ImageMagick directly or through an application interface (PR:L per CVSS). The vulnerability is only triggerable through the APNG encoder or external delegate code paths, so the attacker must be able to control ImageMagick input that exercises these paths - either via direct CLI access or through an application (e.g., a web upload handler that processes APNG files using ImageMagick). Critically, the target deployment must be relying on ImageMagick's policy.xml as an access control mechanism; systems that do not configure path-based policies or that already enforce filesystem isolation at the OS level are not meaningfully impacted by this bypass. The attack vector is local (AV:L), so direct remote exploitation is not possible without a prior foothold or an application-layer trigger. Exploitation is limited to integrity impact (file writes to disallowed paths) with no confirmed confidentiality or availability consequences.

Impact

The provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N) scores 4.8 (Medium), correctly reflecting that the attack surface is local and the impact is limited to integrity. The local attack vector (AV:L) and low-privilege prerequisite (PR:L) are the primary risk limiters - remote exploitation is not possible without a separate initial access vector such as a web upload endpoint that triggers ImageMagick processing. Environments relying on policy.xml as their primary access control layer (shared hosting, multi-tenant SaaS image pipelines) face real risk because the policy boundary is the protection being bypassed. Environments that sandbox ImageMagick at the OS level (containers, restricted service accounts, seccomp profiles) have inherent mitigations that reduce the practical impact. No EPSS score was provided in the input, and the vulnerability is not listed in CISA KEV, indicating no confirmed widespread active exploitation. Overall this is a genuine but contextually bounded risk: high priority for shared-processing deployments, lower priority where OS-level isolation is already enforced.

Exploit ScenarioDerived

A low-privileged user on a shared hosting platform or multi-tenant image processing service submits an APNG file or constructs an ImageMagick invocation that routes through the APNG encoder or an external delegate. By exploiting the missing policy validation, the crafted request resolves a write target to a path blocked by policy.xml - such as a web root directory or configuration path - and writes attacker-controlled content there. No public exploit code has been identified, but the technique is straightforward for anyone familiar with ImageMagick's coder and delegate architecture.

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 – Jul 11, 2026

Policy bypass in ImageMagick before 7.1.2-26 allows low-privileged local users to write files to filesystem paths explicitly blocked by the application's security policy framework. The APNG encoder and external delegate mechanisms omit required validation against policy.xml restrictions, enabling circumvention of configured path-based access controls. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, though the impact is meaningful in multi-tenant or shared-processing environments that rely on ImageMagick's policy layer as a security boundary.

RemediationAI

Upgrade ImageMagick to version 7.1.2-26 or later, which addresses the missing validation in the APNG encoder and external delegate paths; details are in the upstream advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v3j6-27vc-7pw2. If immediate upgrade is not feasible, disable the APNG coder in policy.xml by adding the directive '<policy domain="coder" rights="none" pattern="APNG" />', which prevents the vulnerable code path from being invoked; note this will block all animated PNG processing. Similarly, audit and restrict external delegate definitions to minimize the attack surface via the delegate code path. As defense-in-depth independent of the patch, enforce OS-level filesystem permissions and run ImageMagick under a dedicated low-privilege service account confined to specific writable directories, so that even a successful policy bypass cannot reach sensitive paths.

Affected VersionsENISA

ImageMagick 0 <6.9.13-51
ImageMagick 0 <7.1.2-26

Affected Packages

nuget magick.net-q16-anycpu fix: 14.15.0
nuget magick.net-q16-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-anycpu fix: 14.15.0
nuget magick.net-q16-hdri-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-x64 fix: 14.15.0
nuget magick.net-q16-hdri-x86 fix: 14.15.0
nuget magick.net-q16-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-openmp-x64 fix: 14.15.0
nuget magick.net-q16-x64 fix: 14.15.0
nuget magick.net-q16-x86 fix: 14.15.0
nuget magick.net-q8-anycpu fix: 14.15.0
nuget magick.net-q8-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-x64 fix: 14.15.0
nuget magick.net-q8-x64 fix: 14.15.0
nuget magick.net-q8-x86 fix: 14.15.0
euvd imagemagick fix: 6.9.13-51, 7.1.2-26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 18 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 implements a policy.xml-based security framework that restricts coders, delegates, paths, and resource usage - commonly used in shared hosting and web application contexts to sandbox image processing. The APNG (Animated PNG) coder and external delegate invocation paths are code routes that translate format-conversion requests into filesystem and subprocess operations. CWE-59 (Improper Link Resolution Before File Access) points to the root cause: path resolution during encoding or delegate execution does not properly validate the resolved target against configured policy rules, allowing a crafted request to reach a disallowed write destination. Affected products are identified by CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*, covering all ImageMagick releases across all platforms prior to version 7.1.2-26.

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 3.3 LOW

Local access with low privileges required to invoke ImageMagick; only limited integrity impact via unauthorized file write; no confidentiality or availability impact described.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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 11, 2026 - 15:01 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding process.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed open-source image processing library across Linux web stacks
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL 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.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
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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

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 for SAP Applications 15 SP6 Fixed

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