Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31, a crafted Magick script can cause an opened file pointer to remain unclosed, allowing repeated processing to exhaust available file descriptors. This issue is fixed in version 7.1.2-31.
Published: 2026-10-07
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via file descriptor exhaustion
Action: Patch
AI Analysis

Impact

A crafted Magick script can leave an opened file pointer unclosed during processing, causing ImageMagick to consume file descriptors with each run. Repeated executions eventually exhaust the system's available descriptors, leading to resource exhaustion that manifests as a denial of service for the user or the application that relies on ImageMagick. The weakness is captured by CWE-772 and CWE-775.

Affected Systems

The issue affects installations of ImageMagick 7.1.x prior to version 7.1.2‑31 on any platform where Magick scripts are executed. It is present in the core ImageMagick component distributed as ImageMagick:ImageMagick.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate risk. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local user or a process that can supply a malicious Magick script; if the service running ImageMagick has elevated privileges or the script is processed automatically, the impact could affect system availability. Exploitation requires the attacker to trigger repeated processing to deplete file descriptors, which may require persistence or repeated input.

Generated by OpenCVE AI on October 8, 2026 at 13:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑31 or later, which fixes the file descriptor leak.
  • If an upgrade cannot be performed immediately, configure ImageMagick to run only trusted scripts under a least‑privileged user account to limit the scope of the exhaustion.
  • Implement resource limits such as ulimit or system‑wide quotas to cap the number of file descriptors per process or per user, reducing the potential impact of a leaked descriptor.

Generated by OpenCVE AI on October 8, 2026 at 13:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Thu, 08 Oct 2026 12:15:00 +0000

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

None

threat_severity

Moderate


Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 07 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 07 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31, a crafted Magick script can cause an opened file pointer to remain unclosed, allowing repeated processing to exhaust available file descriptors. This issue is fixed in version 7.1.2-31.
Title ImageMagick: Unclosed file pointer in magick script
Weaknesses CWE-775
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T17:37:22.554Z

Reserved: 2026-10-06T20:31:59.017Z

Link: CVE-2026-106575

cve-icon Vulnrichment

Updated: 2026-10-07T17:37:11.012Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-07T16:17:43.650

Modified: 2026-10-21T18:12:20.113

Link: CVE-2026-106575

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T15:36:21Z

Links: CVE-2026-106575 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T14:00:05Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

  • CWE-775

    Missing Release of File Descriptor or Handle after Effective Lifetime