Description
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.
Published: 2026-10-12
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Policy Bypass
Action: Apply Patch
AI Analysis

Impact

ImageMagick before version 7.1.2-32 has a policy bypass vulnerability in the -script operation caused by missing checks on file descriptor handling. This flaw allows an attacker to close file descriptors that were not opened by the current operation, thereby circumventing any security policies configured for the image processing engine. The weakness is a form of improper resource management (CWE-404) and user-controlled key authorization bypass (CWE-283). While the vulnerability does not directly cause denial of service, it undermines the integrity of the policy enforcement system and can enable the execution of malicious scripts or other privileged actions that would normally be prohibited.

Affected Systems

ImageMagick products running a release before 7.1.2-32 are affected. The vulnerability applies to all builds of ImageMagick shipped prior to the 7.1.2‑32 patch level across all platforms.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is likely local: an adversary who can invoke the -script operation (for example, by submitting a crafted image or script to an untrusted image processing service) can bypass configured policies. Because the flaw permits closing of arbitrary file descriptors, it may be leveraged to elevate privileges or execute additional privileged commands if the underlying system trusts the ImageMagick process. Additionally, the flaw represents an authorization bypass (CWE-283), which could allow attackers to override policy restrictions.

Generated by OpenCVE AI on October 13, 2026 at 01:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-32 or newer to apply the fix that restores file descriptor validation.
  • If an upgrade cannot be performed immediately, restrict or disable the -script operation through the ImageMagick policy configuration to prevent policy bypass.
  • Verify that the policy files do not grant unrestricted script execution and remove any custom or permissive policies that could be abused.
  • Monitor for unusual usage of the -script command or abnormal image processing jobs that may indicate an attempt to exploit the vulnerability.

Generated by OpenCVE AI on October 13, 2026 at 01:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-283
References
Metrics threat_severity

None

threat_severity

Low


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ImageMagick before 7.1.2-32 Policy Bypass via -script Operation
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-404
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T02:36:02.796Z

Reserved: 2026-10-12T14:12:03.637Z

Link: CVE-2026-109277

cve-icon Vulnrichment

Updated: 2026-10-15T02:35:59.267Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-12T17:17:20.287

Modified: 2026-11-03T18:24:34.680

Link: CVE-2026-109277

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-12T16:04:42Z

Links: CVE-2026-109277 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T05:45:07Z

Weaknesses
  • CWE-283

    Unverified Ownership

  • CWE-404

    Improper Resource Shutdown or Release