Skip to main content

ImageMagick EUVDEUVD-2026-97579

| CVE-2026-109277 MEDIUM
Improper Resource Shutdown or Release (CWE-404)
2026-10-12 VulnCheck GHSA-rfwr-4c4q-p5x7
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege ImageMagick invocation
  2. Delivery
    Craft malicious -script operation
  3. Exploit
    Close file descriptors not opened by operation
  4. Execution
    Circumvent configured security policy
  5. Impact
    Disrupt resource/availability on host

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

Exploitation requires local, low-privilege ability to invoke ImageMagick's -script operation (PR:L, AV:L, UI:N), and is only meaningful in deployments that rely on ImageMagick's configured security policy (policy.xml) as a containment boundary for untrusted operations. The specific prerequisite is use of the -script feature where the handling of file descriptors not opened by the current operation was previously unchecked (versions before 7.1.2-32). Limiting factors: no remote vector, authenticated/low-privilege access needed, impact confined to availability (VA:L) with no confidentiality or integrity effect and no scope change to other systems; environments that do not expose -script to untrusted input or do not depend on policy restrictions are not materially affected.

Impact

This is a genuinely low-to-medium priority issue, and the signals are internally consistent rather than conflicting. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L) scores 4.8 and describes a LOCAL, low-privilege attack with no confidentiality or integrity impact and only LOW availability impact confined to the vulnerable system - there is no scope change to other systems (SC/SI/SA:N). No EPSS score was provided, the CVE is not in CISA KEV, and no public exploit was referenced, so there is no public exploit identified at time of analysis. The mechanism is a policy bypass: ImageMagick's -script operation can close file descriptors it did not open, circumventing restrictions administrators thought were enforced by the security policy. Because impact is limited to availability (closing descriptors), and the attacker already needs the ability to run ImageMagick with -script locally, this is a hardening/defense-in-depth weakness rather than a direct path to code execution or data theft. The 'Authentication Bypass' tag overstates the issue - the description describes bypass of a configured security POLICY, not authentication. Net: real and worth patching in environments that depend on ImageMagick policy restrictions as a sandbox boundary, but not an emergency.

Exploit ScenarioDerived

An attacker who can already submit or invoke ImageMagick operations (for example via a service that processes user-supplied conversion scripts under a restrictive policy.xml) crafts a -script operation that closes file descriptors it never opened. This circumvents the configured security policy's intended containment, potentially disrupting the handling of resources the operation was supposed to be sandboxed away from. No public exploit was referenced in the provided data.

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

Local policy bypass in ImageMagick's -script operation (versions before 7.1.2-32) lets a low-privileged local user close file descriptors not opened by the current operation, undermining security restrictions configured in policy.xml. The flaw is a CWE-404 resource lifecycle issue (CVSS 4.0 base 4.8; assessed CVSS 3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L) with availability-only impact and no scope change; it is most relevant where policy.xml is used as a containment boundary for untrusted ImageMagick operations. No public exploit code or active exploitation was identified at time of analysis, and vendor-released patch 7.1.2-32 is available.

RemediationAI

Upgrade to ImageMagick 7.1.2-32 or later, which contains the vendor fix for the -script file descriptor handling issue (commit ce92ae07c2ca2c20c131eaf6da6da734c1cafce0). See the GitHub advisory GHSA-vv56-wmgw-m36w and VulnCheck advisory https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-32-policy-bypass-via-script-operation for details. If immediate upgrade is not possible, remove or restrict the -script operation in policy.xml for untrusted users if that operation is not required; trade-off: disabling -script can break legitimate automation that depends on scripted ImageMagick workflows. Alternatively, restrict invocation of ImageMagick (especially -script) to trusted local accounts, understanding that this reduces but does not eliminate risk from a low-privileged local attacker who can already run the binary. Because the assessed impact is availability-only and requires local low-privilege access, organizations not exposing ImageMagick's -script to untrusted input and not depending on policy.xml as a security boundary can treat this as low priority.

Affected VersionsENISA

ImageMagick 7.0.0-0 <7.1.2-32

Affected Packages

euvd imagemagick fix: 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

ImageMagick's -script operation executes a sequence of image-processing commands from a file or stream, and administrators often use policy.xml to limit delegates, coders, and operations when processing untrusted images. The vulnerability resides in MagickWand/script-token.c: AcquireScriptTokenInfo previously failed to mark a pre-existing FILE* stream as opened by the token_info structure, so cleanup code could close file descriptors that belonged to the calling process rather than the script operation. This is CWE-404 (Improper Resource Shutdown or Release), a resource lifecycle flaw that can be abused to bypass policy enforcement that assumes script operations are isolated. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* indicates all ImageMagick versions before 7.1.2-32 are affected; the patch commit ce92ae07c2ca2c20c131eaf6da6da734c1cafce0 adds an opened flag when token_info->stream is non-NULL, preventing unauthorized descriptor closure. The assessed impact is local (AV:L), low-privilege (PR:L), UI:N, and availability-only (A:L), with no confidentiality or integrity loss and no scope change (S:U).

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

Local invocation of -script with low privileges (AV:L/PR:L), no user interaction, no confidentiality/integrity impact and only low availability impact from closing file descriptors (A:L, S:U).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ImageMagick before 7.1.2-32 contains a policy bypass vulnerability in the -script operation due to missing checks on file descriptor handling. Attackers can use the -script operation to close file descriptors not opened by the current operation, circumventing configured security policies.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
ImageMagick is a near-standard server-side image processing library across web 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 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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