Skip to main content

ImageMagick CVE-2026-106580

| EUVDEUVD-2026-94408 MEDIUM
Improper Access Control (CWE-284)
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
    Supply crafted CUT image for decoding
  2. Exploit
    CUT coder derives companion .PAL path
  3. Execution
    Missing IsPathAuthorized policy check bypassed
  4. Impact
    Read policy-restricted file or crash process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

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

Exploitation Conditions

Exploitation requires that ImageMagick decode an attacker-controlled CUT-format image AND that the CUT coder be enabled; the security impact is only meaningful where a policy.xml defines read restrictions that the missing check circumvents - on an unrestricted install there is no policy to bypass. The specific flaw is that ReadCUTImage builds a companion '.PAL' palette filename and opens it via fopen_utf8 without first calling IsPathAuthorized(ReadPolicyRights,...), so it reads a file the policy should deny. Limiting factors: the vector is LOCAL (the crafted file must reach a local decode operation, e.g., an upload-processing pipeline), attack complexity is HIGH, impact is limited to low-grade information disclosure and a possible crash, and no remote/network exploitation path exists.

Impact

This is a genuinely medium/low-priority issue despite being a security-policy bypass. The provided CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L, base 4.0) is internally consistent with the description: exploitation is LOCAL (attacker must get a crafted CUT file decoded by the target), requires HIGH attack complexity, needs no privileges, and yields only LOW confidentiality impact (reading data policy should deny) plus LOW availability impact (a crash). There is no EPSS score, no CISA KEV listing, and no public exploit in the provided intelligence, so exploitation status is 'no public exploit identified at time of analysis.' The real-world risk is confined to a narrow population: deployments that specifically rely on ImageMagick's policy.xml as a sandbox/access-control boundary (e.g., servers decoding untrusted uploads), because the bug lets the CUT coder read a companion palette file that the policy would otherwise deny. Outside of policy-hardened deployments, the missing check has little practical consequence. No signals conflict - all available data (vector, impact, access control CWE-284) point to a limited-impact local information-disclosure/DoS, not a widespread remote threat.

Exploit ScenarioDerived

An image service hardens ImageMagick with a policy.xml that forbids reading certain local paths, then decodes an attacker-supplied CUT image. Because the CUT coder opens a derived companion '.PAL' palette file without calling IsPathAuthorized, the attacker can cause ImageMagick to read a file the policy should deny - leaking its contents into the output or crashing the process. No public exploit was identified, and the local vector plus high complexity (AV:L/AC:H) make reliable exploitation non-trivial.

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

A missing security-policy enforcement check in ImageMagick's CUT image decoder allows a crafted CUT-format file to cause the library to open and read a companion '.PAL' palette file that an administrator's policy.xml explicitly restricts, resulting in limited information disclosure and a possible denial-of-service crash of the decoding process. The flaw affects ImageMagick versions prior to 7.1.2-31 (7.x branch) and prior to 6.9.13-56 (6.x branch), and exploitation requires a local decode operation - such as an upload-processing pipeline that runs 'convert', 'magick' or an application embedding the ImageMagick library - where a restrictive read policy is actually in place; on an unrestricted installation there is no policy to bypass and the security consequence is minimal. The issue is rated CVSS 3.1 4.0 (AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L), no privileges are required, attack complexity is high, and no public exploit code or confirmed active exploitation has been identified at time of analysis. This is a medium-to-low-priority issue: a genuine defence-in-depth control failure rather than a remotely reachable compromise vector.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-31 or later on the 7.x branch, or 6.9.13-56 or later on the 6.x branch, applying the upstream fixes referenced in GHSA-r868-pmwh-fv2c (commits 768bdd0dbb9a9ad743b6a6e557126b788b325970 and ad178e41fce2afa6be2b91fb4e7f41c4c5448117). Distributions and language bindings (ImageMagick, ImageMagick6, wand/imagick packages) should be updated in lockstep, since the vulnerable decoder lives in the core library rather than in wrappers. If immediate upgrading is not possible, the effective compensating control is to remove CUT from the allowed coder set in policy.xml - for example a '<policy domain="coder" rights="none" pattern="{CUT,PAL}"/>' entry - which prevents the CUT reader and companion palette loader from being invoked at all; the trade-off is that legitimate Dr. Halo CUT images will no longer decode, so verify no production workflow depends on that format. Where the vulnerability's confidential-read aspect is the concern, tighten policy.xml read rules (e.g. deny '<path>/etc</path>' and other sensitive prefixes) so that even a bypassed check yields nothing of value, and ensure ImageMagick processing runs under a least-privilege service account with a confined filesystem/container view so the companion '.PAL' lookup cannot traverse outside the working directory. Because the attack requires a crafted file to reach a local decode operation, restricting who can submit images to conversion pipelines and rejecting untrusted CUT uploads at the input boundary also reduces exposure. No vendor patch is missing here - the fix exists, so prioritise upgrading over long-term workarounds.

Affected VersionsENISA

ImageMagick < 6.9.13-56
ImageMagick 7.0.0, < 7.1.2-31

Affected Packages

euvd imagemagick fix: 6.9.13-56, 7.1.2-31

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 CUT coder (coders/cut.c, function ReadCUTImage) parses the old Dr. Halo CUT raster format, which stores its colour palette in a separate companion file with a '.PAL' extension. To load that palette, the code constructs a filename derived from the input file path and opens it with fopen_utf8(). Prior to the fix, this open path omitted the call to IsPathAuthorized(ReadPolicyRights, clone_info->filename) that ImageMagick's policy framework uses to enforce read restrictions declared in policy.xml (for example, denying reads of '<path>/etc</path>' or restricting coder access). The root cause class is CWE-284 (Improper Access Control) - the decoder performs a filesystem read that policy is supposed to deny, effectively a security-policy bypass scoped to the CUT decoder. The upstream commits (768bdd0dbb9a9ad743b6a6e557126b788b325970 for the 7.x branch and ad178e41fce2afa6be2b91fb4e7f41c4c5448117 for the 6.x branch, mirrored in GitHub security advisory GHSA-r868-pmwh-fv2c) add the missing IsPathAuthorized() check before fopen_utf8() and throw a PolicyError ("NotAuthorized") when the path is denied; the same patches also tidy surrounding bounds/EOF checks and brace/style formatting in the CUT reader. Because the CUT decoder is not enabled in every deployment and because the vulnerability only matters when policy.xml imposes read restrictions, the practical exposure is narrow and the CVSS impact is limited to low confidentiality loss and low availability loss from a crash.

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:N/UI:N/S:U/C:L/I:N/A:L
vuln.today AI 4.0 MEDIUM

Local crafted-file decode (AV:L), no privileges to supply input (PR:N), non-trivial conditions (AC:H); impact is limited policy-restricted read (C:L) plus possible crash (A:L), no integrity effect.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/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
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:54 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-31 and 6.9.13-56, a missing security-policy check in the CUT encoder allows a crafted local encoding operation to read data that policy should deny and can also cause a crash. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
ImageMagick widely deployed across Linux servers and image-processing pipelines
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

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

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