Skip to main content

ImageMagick CVE-2026-86424

| EUVDEUVD-2026-72382 LOW
Improper Link Resolution Before File Access (CWE-59)
2026-09-07 VulnCheck GHSA-v7f7-cw7c-4cvq
2.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privilege local access
  2. Delivery
    Identify decoder intermediate write path
  3. Exploit
    Place initial symlink to allowed path
  4. Execution
    Trigger ImageMagick video decode job
  5. Persist
    Race to swap symlink to policy-restricted destination
  6. Impact
    Arbitrary write lands at restricted 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 a local account with at least low-privilege access to the target system (PR:L per CVSS 4.0). The attacker must be able to create and manipulate symlinks in a directory that ImageMagick's video decoder uses for intermediate or output file writes (AT:P - specific environmental pre-conditions must exist). The race condition window must be won by timing the symlink swap between ImageMagick's policy validation step and its subsequent write call (AC:H). The vulnerability is limited to write-only impact on policy-restricted paths; no confidentiality or availability impact is possible. Environments where ImageMagick runs as a dedicated isolated service account with no writable directories shared with unprivileged users are not exploitable.

Impact

The CVSS 4.0 score of 2.0 is well-founded and not a suppression of a more severe underlying issue. Exploitation demands local system presence (AV:L), the ability to win a precise timing race (AC:H), the presence of specific attack pre-conditions such as shared writable directories in the decoder's path (AT:P), and at least low-privilege credentials (PR:L). The outcome is constrained to a low-level integrity write (VI:L) to a policy-restricted path, with no confidentiality or availability impact. No CISA KEV listing and no public POC are present, meaning there is no confirmed or demonstrated exploitation path. Even a mid-sized municipal IT team in gniezno managing a shared image-processing pipeline need not treat this as urgent if ImageMagick runs as an isolated service account with no shared writable directories accessible to untrusted local users - that deployment posture eliminates the attack surface entirely. The primary concern is multi-tenant shared hosting or CI environments where untrusted local users can influence the decoder's working directory.

Exploit ScenarioDerived

A low-privilege local user on a shared Linux server identifies a temporary directory used by ImageMagick's video decoder during image conversion jobs. The attacker places a symlink pointing to an allowed path, submits a video file for processing to trigger a decoder write operation, then races to replace the symlink with one pointing to a policy-restricted target (e.g., /etc/cron.d/) within the TOCTOU window, causing the write to land at the restricted location. No public exploit code exists; successfully winning the race requires precise timing and repeated attempts.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Sep 07, 2026

ImageMagick's video decoder contains a TOCTOU race condition that allows a local low-privileged attacker to bypass the policy.xml path write restrictions by swapping a symlink between the policy validation step and the actual file write operation. Both the ImageMagick 7 branch (before 7.1.2-30) and the legacy ImageMagick 6 branch (before 6.9.13-55) are affected, covering a wide range of deployed versions. No public exploit code exists and no active exploitation has been confirmed; the CVSS 4.0 score of 2.0 accurately reflects the local-access and race-condition constraints.

RemediationAI

Vendor-released patches are available: upgrade to ImageMagick 7.1.2-30 or later on the 7.x branch, or to ImageMagick 6.9.13-55 or later on the 6.x branch, as confirmed by GHSA-9x6f-98x9-rx6g. As a compensating control pending patch deployment, run ImageMagick under a dedicated isolated service account that has no shared writable directories accessible to untrusted local users, eliminating the symlink-swap surface. Alternatively, restrict tmpdir and working-directory permissions so that low-privilege users cannot create or modify symlinks in paths the decoder accesses. Containerizing or sandboxing ImageMagick (e.g., via systemd DynamicUser, seccomp, or a container runtime) further limits the race window. These mitigations add operational overhead but directly neutralize the attack prerequisite.

Affected VersionsENISA

ImageMagick 0 <7.1.2-30
ImageMagick 0 <6.9.13-55

Affected Packages

euvd imagemagick fix: 6.9.13-55, 7.1.2-30

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 enforces filesystem access controls through a policy.xml configuration that restricts read/write access to specific paths. The video decoder component performs a two-phase operation: it resolves and validates a symlink target against the policy at check-time, then performs the actual file write at use-time. CWE-59 (Improper Link Resolution Before File Access / Link Following) captures this class of flaw: because no atomic check-and-open primitive is used, a symlink swapped between the two phases causes the write to land at an attacker-chosen policy-restricted destination. The affected CPE is cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*, covering all versions of both the 7.x and 6.x branches prior to the fixed releases.

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

Local access and race-condition timing required (AV:L, AC:H); low-privilege credentials needed (PR:L); impact limited to restricted-path writes with no confidentiality or availability effect.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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

2
Patch available
Sep 07, 2026 - 14:02 EUVD
CVE Published
Sep 07, 2026 - 12:53 cve.org
LOW 2.0

DescriptionCVE.org

ImageMagick before 7.1.2-30 and 6.9.13-55 contains a time-of-check-time-of-use (TOCTOU) vulnerability in the video decoder that allows attackers to bypass path policy write restrictions via symlink swaps. An attacker can replace a symlink between policy validation (check-time) and the file write operation (use-time) to write to policy-denied locations.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely deployed image processing library across Linux, web, and CI stacks
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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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

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