Skip to main content

ImageMagick EUVDEUVD-2026-94381

| CVE-2026-106566 MEDIUM
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-10-07 GitHub_M
4.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged workflow access
  2. Exploit
    Plant symlink at delegate cleanup path
  3. Execution
    Trigger delegate shred/cleanup routine
  4. Impact
    Overwrite symlink target with random data

Vulnerability Assessment

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

Exploitation requires a local, already-privileged ImageMagick workflow (prior to 7.1.2-32, or ImageMagick6 prior to 6.9.13-57) that invokes delegate processing and its symlink-based temporary-file shred/cleanup path (the code path gated by the MAGICK_SHRED_PASSES environment variable in AcquireUniqueSymbolicLink). The attacker must be able to create or control a symbolic link at the cleanup target location and the cleanup must follow it (CWE-61). Limiting factors are substantial: no remote vector (AV:L), high attack complexity including timing/race conditions (AC:H), pre-existing high privileges (PR:H), and required user/operator interaction (UI:R); impact is confined to overwriting a target file with random data (integrity), with no confidentiality or availability loss.

Impact

This is a genuinely low-priority issue despite ImageMagick's broad footprint. The provided CVSS 3.1 vector (AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N, base 4.0/Medium) describes a local-only flaw that stacks multiple hard prerequisites: local access, high attack complexity, already-high privileges, and required user interaction, with impact limited to integrity (file overwrite) and no confidentiality or availability effect. No EPSS score, CISA KEV listing, or POC indicator was supplied in the intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The signals are internally consistent and all point low - the only conflict is the metadata tag 'Information Disclosure', which contradicts the CVSS impact profile (C:N/I:H): this is a destructive symlink-following integrity bug (CWE-61), not a disclosure issue. Even though ImageMagick is deployed extremely widely, the PR:H + AC:H + AV:L gating means real-world risk is minimal and this should not be prioritized above network-reachable or unauthenticated flaws.

Exploit ScenarioDerived

A local attacker who can influence a privileged ImageMagick workflow pre-places a symbolic link at the path used for delegate temporary-file cleanup. Because the shred/cleanup routine followed the symlink without honoring MAGICK_SHRED_PASSES, the privileged process overwrites the symlink target with random data, corrupting an arbitrary file the attacker could not otherwise write. No public exploit is identified at time of analysis, and exploitation requires local access, elevated privileges, user interaction, and winning specific timing conditions.

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 07, 2026

UNIX symlink-following in ImageMagick's delegate cleanup path allows a local, already-privileged workflow to overwrite a target file with random data. Affected are ImageMagick versions prior to 7.1.2-32 and the ImageMagick6 branch prior to 6.9.13-57; the flaw (CWE-61) causes the shred/cleanup routine to ignore the MAGICK_SHRED_PASSES setting, so it follows attacker-planted symbolic links instead of honoring the configured shred behavior. The attack surface is narrow - CVSS 3.1 scores this 4.0 (AV:L/AC:H/PR:H/UI:R) with integrity-only impact - and no public exploit has been identified at time of analysis; there is no CISA KEV designation.

RemediationAI

Vendor-released patch: upgrade ImageMagick to 7.1.2-32 or later, and upgrade the ImageMagick6 line to 6.9.13-57 or later; the applicable fixes are commit 48e5ce1779fc640a389f0020fd7d965d0c08236e (7.x) and 11d2af00a948e9ca2919d9a8684d335a48484094 (6.x), documented in advisory GHSA-54hm-vrmh-75qj and released at https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-32 and https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-57. Because exploitation requires a local, already-privileged workflow plus a controllable symlink at the cleanup target (AV:L/AC:H/PR:H/UI:R), compensating controls are practical where patching is delayed: run ImageMagick delegate processing under a dedicated low-privilege account and restrict write/create permissions on delegate temporary and work directories so untrusted users cannot plant symlinks, at the cost of added privilege-separation configuration; or execute conversions inside a confined container or tmpfs-backed scratch directory where symlink targets resolve only to disposable paths, accepting slightly higher operational overhead. Validating that MAGICK_SHRED_PASSES is correctly applied post-upgrade, and avoiding shared, world-writable delegate temp locations, further reduces exposure. No vendor-released patch is claimed beyond the versions noted above.

Affected VersionsENISA

ImageMagick < 6.9.13-57
ImageMagick 7.0.0, < 7.1.2-32

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

The root cause is CWE-61 (UNIX Symbolic Link Following) in ImageMagick's utility layer. The affected function, AcquireUniqueSymbolicLink, manages temporary-file creation and the associated shred/cleanup logic in MagickCore/utility.c (ImageMagick 7.x) and magick/utility.c (ImageMagick6). The security fix (commit 48e5ce1779fc640a389f0020fd7d965d0c08236e on the 7.x branch and 11d2af00a948e9ca2919d9a8684d335a48484094 on the 6.x branch) adds a fallback so that when the shred-passes parameter is NULL, the code reads the MAGICK_SHRED_PASSES environment value via GetEnvironmentValue. Prior to this change, the delegate symlink cleanup path failed to consult MAGICK_SHRED_PASSES, meaning operators who disabled or tuned shredding through that environment variable were not actually honored, and the cleanup could follow a symbolic link at the cleanup target and overwrite the linked file with random data - an integrity-only effect with no confidentiality or availability loss. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* reflects the broad range of ImageMagick releases covered prior to the fixed tags.

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 (GitHub_M) PRIMARY 4.0 MEDIUM
AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
vuln.today AI 4.0 MEDIUM

Local symlink-cleanup bug reachable only from a privileged workflow (AV:L/PR:H) under race/timing conditions (AC:H) with operator action (UI:R); impact is file overwrite, so I:H and C:N/A:N.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:21 cve.org
MEDIUM 4.0

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32, delegate symlink cleanup does not check the MAGICK_SHRED_PASSES environment variable, allowing a local privileged workflow to overwrite a file with random data. This issue is fixed in version 7.1.2-32.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely deployed open-source image library across servers and web apps
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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

Vendor StatusVendor

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