Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted CUT image to ImageMagick
-
ExploitCUT coder derives companion .PAL path
-
ExecutionPalette file opened bypassing security policy
-
ImpactRead policy-denied data or crash service
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 an application to process an attacker-controlled CUT-format image through ImageMagick's CUT coder, where the vulnerability lets the coder open the derived companion '.PAL' palette file without the security-policy read check (IsPathAuthorized/ReadPolicyRights) that would otherwise deny it. The practical significance exists only when a restrictive ImageMagick security policy (policy.xml) is configured that this bypasses; impact is limited to reading data from the policy-denied adjacent .PAL file (C:L) and/or crashing the process (A:H), with no integrity or code-execution impact. Limiting factors: the attacker must get a crafted CUT file into the processing path, the CUT coder must be enabled, and there is no integrity compromise. |
| Impact | Signals are mixed and point to a moderate, not urgent, priority. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H, base 8.2) treats this as a network, unauthenticated, low-complexity issue dominated by availability (crash) with limited confidentiality exposure - plausible because ImageMagick is most often reached by feeding it attacker-supplied images in a web/processing pipeline. However, the NVD description explicitly frames it as a 'crafted local encoding operation,' which conflicts with AV:N and suggests the real exploitation surface is local/processing-side rather than directly remote; verify intended attack vector with the vendor advisory. All exploitation signals are low: EPSS is 0.12% (2nd percentile), SSVC reports Exploitation=none, Automatable=no, Technical Impact=partial, there is no CISA KEV listing, and no public exploit was provided. The CWE-284 (improper access control) root cause and the patch diff confirm the true nature is a security-policy (policy.xml) bypass in the CUT coder that lets it open an adjacent .PAL palette file without the IsPathAuthorized check - an information-disclosure/DoS policy bypass, not code execution. Net: a legitimate fix-worthy defect, but low real-world exploitation pressure; prioritize as routine patching rather than emergency response. |
| Exploit ScenarioDerived | An application (e.g., a web service or batch pipeline) that uses ImageMagick with a hardening security policy processes an attacker-supplied CUT image. The CUT coder derives and opens a companion .PAL palette file without enforcing the configured read policy, so the attacker can cause ImageMagick to read data the policy should have denied or to crash the process. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 21, 2026
ImageMagick's CUT image decoder fails to enforce the configured security policy (policy.xml) when it derives and opens the companion '.PAL' palette file next to a processed CUT image, so an unauthenticated remote attacker who can get a crafted CUT file into an image-processing pipeline can read a palette file that policy explicitly denies and can also crash the process. All releases before 7.1.2-31 (including the entire 7.0.0 line) and before 6.9.13-56 are affected; the flaw is only meaningful when a restrictive read policy is actually in place, since the practical impact is limited to policy bypass for one adjacent file plus a denial-of-service crash, with no write or code-execution capability. Advisory GHSA-r868-pmwh-fv2c has been published with upstream commits and fixed release tags, EPSS is low at 0.12% (2nd percentile), and CISA's SSVC assessment rates exploitation as none and automatable as no, so no public exploit code has been identified at time of analysis.
Earlier versions of this analysis (1)
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 (https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31, commit 768bdd0dbb9a9ad743b6a6e557126b788b325970) or, on the legacy line, 6.9.13-56 (https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56, commit ad178e41fce2afa6be2b91fb4e7f41c4c5448117); distributions should track the corresponding package updates, and because the vulnerable open is reached before any policy check, backporting the moved IsPathAuthorized() call is the minimum viable fix. Where an immediate upgrade is not possible, the only reliable compensating control is to remove CUT from the allowed coder set in policy.xml (for example a <policy domain="coder" rights="none" pattern="{CUT}"/> entry) - this stops the decoder entirely, so legitimate Dr. Halo CUT files will no longer be processed and callers will see a 'no decode delegate' error. Do not rely on denying '.PAL' paths via policy.xml alone, since defeating exactly that check is the vulnerability; instead constrain the blast radius by running ImageMagick under a sandbox or container with a read-only, minimal filesystem view and by applying resource limits (width/height/area/memory/time) so the malformed-run-length and division-by-zero crash paths are contained. Convert untrusted uploads server-side with an allowlist of expected formats, and monitor for images whose filenames resolve to adjacent palette files being read outside expected directories.
Affected VersionsENISA
Affected Packages
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 CUT coder (coders/cut.c) handles the legacy Dr. Halo CUT raster format; a CUT file carries only indexed pixel data, so the reader reconstructs the palette by taking the input filename, stripping its extension and opening a sibling file with a '.PAL' suffix. ImageMagick exposes a policy subsystem (policy.xml plus the ReadPolicyRights / IsPathAuthorized() interface) that lets administrators forbid reading from given paths or coders. CWE-284 (Improper Access Control) is the correct classification here: in the vulnerable code the IsPathAuthorized() check sat only inside the fallback fopen_utf8() branch, leaving the primary open of the derived .PAL path unchecked, so the palette file was loaded even when policy should have rejected the read. The upstream diffs for both the 7.x (commit 768bdd0d) and 6.x (commit ad178e41) branches move the authorization test ahead of the fopen calls and throw ThrowCUTReaderException(PolicyError,"NotAuthorized") on failure; the same patches harden the reader with EOFBlob() checks, bit-plane/width validation (ldblk vs Header.Width), a guard on EncodedByte, and zero-value guards for MaxRed/MaxGreen/MaxBlue that remove division-by-zero and malformed-run-length crash paths, which is where the CVSS availability impact (A:H) originates. Note that the derived-path mechanism is why the CVSS vector is AV:N/PR:N/UI:N: no credentials are needed, since the attacker only supplies a file to whatever service parses it.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
ImageMagick typically processes attacker-supplied images unauthenticated (AV:N/AC:L/PR:N/UI:N); policy-bypass yields limited info disclosure (C:L) and a crash (A:H), no integrity impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Technical POC Analysis
CWE-284 (Improper Access Control), with a secondary CWE-400 (Uncontrolled Resource Consumption) impact per the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
ImageMagick, a widely embedded image-processing component, has a high-severity flaw that can let crafted image files bypass configured file-access restrictions and crash processing services. Teams running affected ImageMagick versions in upload, transcoding, or document-rendering pipelines should treat this as a configuration-integrity and availability risk; no public exploit identified at time of analysis, and current exploitation likelihood is low. Leadership should prioritize confirming exposure and scheduling the vendor fix because these pipelines often handle untrusted content and support customer-facing services.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
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
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-94408
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB