Description
ImageMagick before 7.1.2-27 contains a memory leak vulnerability in the magick command-line interface when invalid options are provided. Attackers can trigger memory exhaustion by repeatedly supplying malformed command-line arguments to consume system resources.
Published: 2026-07-25
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Memory is leaked when the ImageMagick CLI receives malformed command‑line arguments, causing the tool to allocate resources that are never freed. The leakage can be repeated, cumulatively exhausting the host’s memory pool and potentially crashing the process or the system. The flaw illustrates a CWE‑401 Memory Management: Resource Leak weakness that directly undermines availability by allowing an attacker to deplete service resources.

Affected Systems

Any host running ImageMagick before release 7.1.2‑27, regardless of operating system, is vulnerable when the command‑line tool "magick" is invoked with arbitrary or malformed options. Users or scripts that pass unvalidated parameters to magick are at risk.

Risk and Exploitability

The vulnerability has a CVSS score of 4.8, indicating moderate severity, and an EPSS score of less than 1 %, suggesting that exploitation is unlikely but not impossible. It is not listed in the CISA KEV catalog. The CVE description indicates that the vulnerability is triggered by providing malformed command‑line arguments to the magick tool; the attack vector is not explicitly remote but requires the ability to invoke the tool with such arguments. By repeatedly supplying invalid options, an attacker can potentially exhaust system memory and cause denial of service.

Generated by OpenCVE AI on August 3, 2026 at 18:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑27 or later to remove the memory leak
  • Restrict execution of the magick command to trusted users or environments so that unvalidated input cannot be supplied
  • Implement resource limits (e.g., ulimit, cgroups) on processes that run magick to prevent a single instance from consuming all available memory

Generated by OpenCVE AI on August 3, 2026 at 18:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Mon, 27 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 25 Jul 2026 11:00:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-27 contains a memory leak vulnerability in the magick command-line interface when invalid options are provided. Attackers can trigger memory exhaustion by repeatedly supplying malformed command-line arguments to consume system resources.
Title ImageMagick before 7.1.2-27 Memory Leak via Invalid CLI Options
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-401
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:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/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-07-27T16:18:39.262Z

Reserved: 2026-07-23T19:22:30.643Z

Link: CVE-2026-66011

cve-icon Vulnrichment

Updated: 2026-07-27T16:13:31.513Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T11:17:18.347

Modified: 2026-08-04T13:52:56.537

Link: CVE-2026-66011

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-25T10:45:55Z

Links: CVE-2026-66011 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:30:06Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime