Technical impact
ImageMagick versions prior to 7.1.2‑33 contain a memory leak in the magick compare command caused by missing cleanup when an operation fails. This flaw allows an attacker to provide crafted input that triggers repeated failed compare operations, each leaking memory. Over time the process exhausts available memory, leading to a denial of service. The vulnerability corresponds to improper disposal of memory resource (CWE‑401) and can impact the availability of any services that depend on ImageMagick for image processing.
Affected Systems
All installations of ImageMagick before version 7.1.2‑33 are affected. Users running earlier releases and invoking the magick compare command with untrusted input are at risk. The issue does not affect newer releases (7.1.2‑33 and later).
Risk and Exploitability
The CVSS score of 2.0 indicates low overall severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by supplying maliciously crafted compare inputs. If an application processes images from external sources, remote exploitation is possible; local exploitation requires the ability to execute the compare command. As the impact is a denial of service, the risk is primarily in availability degradation rather than confidentiality or integrity.