Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach pipeline that runs magick compare
-
ExploitSupply crafted inputs that fail compare
-
ExecutionRepeat failed operations leaking memory
-
ImpactExhaust available memory for denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
|
| Exploitation Conditions | Exploitation requires the ability to supply inputs to the 'magick compare' command and to cause compare operations to fail repeatedly, on a local host or within an automated/service pipeline that runs compare against attacker-influenced images. The CVSS vector is local (AV:L) with passive user/operator interaction (UI:P in 4.0), meaning an operator or process must actually invoke compare on the supplied inputs - it is not a remotely reachable network service. Limiting factors: impact is confined to gradual memory exhaustion (VA:L, no C/I impact), a single failed operation leaks only a small amount so many repeated failures are needed to achieve DoS, and there is no exposure of data or code execution. No special non-default configuration is called out beyond use of the compare functionality on untrusted input. |
| Impact | This is a low-priority issue despite ImageMagick's wide deployment. The supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L) yields a base score of only 2.0, reflecting a local attack vector, required user/operator interaction, and an availability-only impact rated Low - there is no confidentiality or integrity impact. No EPSS score was provided in the input, there is no CISA KEV listing, and no confirmed working exploit code was supplied - only vendor/advisory references (GHSA and VulnCheck), so exploitation probability cannot be quantified from the data. The vuln.today Decision label is 'monitor', which is consistent with all the severity signals: a slow, gradual memory leak that requires repeated failed operations to meaningfully exhaust memory. The signals are internally consistent (no conflicting high-CVSS-but-low-risk tension here) - this is genuinely a low-urgency maintenance fix, not an emergency, and a patch is already available. |
| Exploit ScenarioDerived | An attacker who can feed inputs to a system that invokes 'magick compare' - for example an automated image-comparison pipeline accepting untrusted images - supplies inputs that cause the compare operation to fail. Because cleanup is missing on the failure path, each failed operation leaks memory, and repeating this gradually exhausts available memory to cause a denial of service. No public exploit code is identified at time of analysis; the GHSA and VulnCheck entries are advisories, not verified working exploits. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 25, 2026
Repeated failed comparisons in ImageMagick's magick compare command (every release before 7.1.2-33) leak memory that is never released, allowing local attackers to gradually exhaust the memory of a process that runs compare against attacker-influenced images and thereby degrade availability. Each failure leaks only a small amount, so sustained or repeated failed invocations are needed before service quality drops; there is no data exposure or code execution impact. No public exploit code was identified at time of analysis, the issue is not in CISA KEV, and the vendor priority label is monitor.
RemediationAI
Vendor-released patch: 7.1.2-33 - upgrade ImageMagick to 7.1.2-33 or later, which is the fix version named in the GHSA-m938-565c-h9qf advisory (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m938-565c-h9qf) and in the VulnCheck advisory (https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-33-memory-leak-in-magick-compare). The available advisories document no workaround, so upgrading is the recommended action; where an upgrade cannot be scheduled immediately, note that the leak only accrues when magick compare is repeatedly run to failure on inputs the attacker influences, so keeping untrusted images away from compare paths and watching long-lived compare processes for steadily growing memory will limit practical exposure until the patched version is deployed. Given the local, availability-only impact and the monitor priority label, this does not require emergency handling.
Affected VersionsENISA
Affected Packages
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 is a widely deployed C/C++ image processing library and command-line suite; the compare subcommand computes a similarity metric between two images and is often wired into automated pipelines and CI-style image diffing. The root cause is CWE-401 (Missing Release of Memory after Effective Lifetime): when a compare operation fails, the cleanup path is not executed and the memory allocated for that operation is not returned, so each failed run permanently retains a small allocation in the long-lived process. The advisory states only that the leak occurs 'when an operation fails'; the specific failing code path and the exact inputs required to reach it are not described in the available sources. Severity is scored low across sources: CVSS 4.0 gives 2.0 with AV:L/AC:H/AT:P/PR:N/UI:P and a limited availability-only impact (VC:N/VI:N/VA:L), while the independent assessment re-scores it under CVSS 3.1 as AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - both agree the vector is local, availability-only and requires an operator or process to actually invoke compare on the supplied inputs rather than being a remotely reachable network service. ImageMagick's ubiquity raises the population of affected deployments, but the local, low-impact nature of the leak keeps overall risk low.
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
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Local because exploitation runs through the compare CLI/pipeline (AV:L) with operator interaction to invoke it (UI:R); no privileges to supply a file (PR:N); only partial, gradual availability impact (A:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command caused by missing cleanup when an operation fails. Attackers can supply inputs that trigger repeated failed compare operations to exhaust memory and cause denial of service.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
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
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
EUVD-2026-109419
GHSA-mh47-95q8-vqh2
NVD
CVE.org
EPSS
VulDB
Exploit-DB