Skip to main content

ImageMagick EUVDEUVD-2026-94405

| CVE-2026-106579 HIGH
Incorrect Behavior Order: Authorization Before Parsing and Canonicalization (CWE-551)
2026-10-07 GitHub_M
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted image to image-processing service
  2. Exploit
    Image routes to policy-restricted coder
  3. Execution
    IsCoderAuthorized check bypassed via magick name mismatch
  4. Impact
    Read data prohibited by coder policy

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V5 - File Handling Directory indexing prevention
Exploitation Conditions

Exploitation is meaningful ONLY when the target has an ImageMagick security policy (policy.xml) configured with domain='coder' to restrict specific coders; the crafted image bypasses that coder authorization check so a restricted coder is invoked and policy-prohibited data can be read. The target application must also parse attacker-supplied images. The key LIMITING factor is this non-default dependency: installations without a coder-domain policy have no control to bypass and are effectively unaffected, which is why real-world exposure is far narrower than the AV:N/PR:N/UI:N vector suggests.

Impact

Signals converge on this being a genuine but LOW-urgency issue rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores 7.5 because any remote, unauthenticated party who can submit an image to a service that parses it could trigger the flaw, and the impact is confidentiality-only (C:H/I:N/A:N). However, the other signals strongly temper this: EPSS is 0.14% (3rd percentile), CISA SSVC rates Exploitation as 'none', Automatable as 'no', and Technical Impact as only 'partial', and there is no KEV listing and no public exploit. Critically, the CVSS network vector overstates real-world exposure because the vulnerability ONLY matters where an administrator has deliberately configured an ImageMagick security policy using 'coder' as its domain - this is a bypass of a defensive control, so on default installations with no coder policy there is effectively nothing to bypass. This is therefore a defense-in-depth regression affecting hardened deployments, not a broad-impact disclosure bug. Net: real but low priority; patch on normal maintenance cadence, prioritize only if you rely on coder-domain policy.xml restrictions to contain untrusted image inputs.

Exploit ScenarioDerived

An attacker submits a specially crafted image to a service (e.g. an image-upload or thumbnailing endpoint) that runs ImageMagick with a policy.xml restricting certain coders via the 'coder' domain. Because the authorization check used the requested magick string rather than the coder's canonical module name, the crafted image routes to a coder the policy was meant to block, allowing the attacker to read data the policy was intended to prohibit. No public proof-of-concept has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – Oct 21, 2026

ImageMagick before 7.1.2-31 and 6.9.13-56 resolves image coders before applying its security-policy authorization check, so a crafted image can invoke a coder that a policy.xml rule with domain='coder' was meant to block and read data the policy prohibits. Real exposure is much narrower than the CVSS 7.5 network vector implies: the flaw is only meaningful where an administrator has actually configured a coder-domain policy (installations without one have no control to bypass), and the target application must still parse attacker-supplied images. With EPSS at 0.14% (3rd percentile), SSVC exploitation rated none, and no public exploit or CISA KEV activity identified at time of analysis, this is a low-urgency hardening item rather than an emergency.

Earlier versions of this analysis (1)
v1 Oct 07, 2026 - 16:29 CVSS 6.2

ImageMagick 7.x before 7.1.2-31 and 6.x before 6.9.13-56 can be induced to bypass a security policy configured with the 'coder' domain, allowing a crafted image to load a coder that the policy was meant to block and thereby read data that policy prohibits. The flaw matters only to deployments that actually configure a coder-based deny policy - typically security-conscious hosting, CI, or image-processing pipelines that pass untrusted user-supplied images into ImageMagick - where the bypass defeats the intended hardening and exposes file content to confidentiality loss. The CVSS base score is 6.2 with PR:N in the vector, so unauthenticated attackers can trigger it, and while no public exploit code or CISA KEV entry has been identified at time of analysis, the fixing commits are public. Note a scoring discrepancy: NVD rates the vector AV:L while our independent assessment scores it AV:N, reflecting that such images are commonly delivered through remote upload pipelines.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-31 or 6.9.13-56, which change ReadImage() to pass the resolved magick_info->name to IsCoderAuthorized() so the policy check runs against the coder actually used; distribution packages should be tracked to their backported builds, and the release notes and advisory are at https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31, https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56 and https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vcjj-32hg-qpx5. If patching must be deferred, note that the risk is confined to hosts running a policy.xml with domain='coder' while also parsing untrusted images, so reducing either condition removes exposure: route untrusted image parsing through a conversion service that does not define coder-domain restrictions or that runs in a sandbox where the restricted coders have no filesystem or network reach (trade-off: added latency and a new component to maintain), or, on hosts that must keep the policy, disable the sensitive coder modules outright by removing or renaming their module files (for example the delegate-backed coder .so in the coders directory) and blocking the corresponding delegate binaries such as the URL/HTTP fetchers via policy domain='delegate' (trade-off: those formats stop working entirely and module files must be re-checked after every package upgrade). Restricting image upload endpoints to an allow-list of expected formats validated by magic bytes, and running the ImageMagick worker as an unprivileged user with no access to sensitive paths, further limits what a policy-bypassing coder could read; because no public exploit exists at time of analysis, these compensating controls should be weighed as hardening rather than emergency measures.

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

The defect is an instance of CWE-551 (Incorrect Behavior Order: Authorization Before Parsing and Canonicalization) in ImageMagick's ReadImage() path. The upstream diffs in MagickCore/constitute.c (7.x) and magick/constitute.c (6.x) show the coder policy check IsCoderAuthorized() being called with read_info->magick - an identifier derived early in the read path - instead of magick_info->name, the module name resolved once the image and its coder have been fully established. Because the authorization decision is made against a pre-canonicalization identifier, a crafted file whose early-declared coder name differs from the coder ultimately used can satisfy the policy check for an allowed coder while the restricted coder actually executes. The security policy in question is policy.xml with domain='coder', a non-default configuration used to forbid dangerous coders (for example those that can fetch URL-backed resources or read local files); the impact is therefore read-only confidentiality loss (CVSS C:H/I:N/A:N) against data the policy was written to protect, not code execution or integrity damage.

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 MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Remote crafted image needs no privileges or interaction (PR:N/UI:N); confidentiality-only disclosure of policy-restricted data (C:H, I/A:N); impactful only where a coder-domain policy is configured.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 21, 2026 - 16:59 vuln.today
v2 - CVSS changed
Severity Changed
Oct 21, 2026 - 16:54 NVD
MEDIUM HIGH
CVSS changed
Oct 21, 2026 - 16:54 NVD
6.2 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:45 cve.org
MEDIUM 6.2

DescriptionNVD

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 crafted image can bypass an ImageMagick security policy that uses coder as its domain, potentially allowing data prohibited by the policy to be read. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

Technical POC Analysis

CWE-551 (Incorrect Behavior Order: Authorization Before Parsing and Canonicalization - here, the inverse ordering: coder resolution happens before the policy authorization check that is meant to gate…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

ImageMagick releases prior to 7.1.2-31 (and 6.9.13-56 on the legacy 6.x branch) can be made to invoke image coders that an administrator's policy.xml rules were designed to block, potentially exposing data those policy restrictions were written to protect. Practical exposure is confined to teams that have deliberately configured coder-domain policies and also parse images from untrusted sources, so most organizations face limited real-world risk despite the HIGH severity score. Leadership should care because the flaw quietly weakens a defense-in-depth control some teams depend on, while the remediation itself is a routine version upgrade.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed image-processing library across web apps and Linux servers
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

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

Vendor StatusVendor

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