Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to ImageMagick host
-
DeliveryCraft image triggering hough lines failure condition
-
ExploitSubmit image to invoke vulnerable code path
-
ExecutionSmall heap allocation leaks per invocation
-
PersistRepeat submissions to accumulate leaked memory
-
ImpactDegrade or exhaust process memory availability
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
|
| Exploitation Conditions | Exploitation requires local access to the host running ImageMagick (AV:L per CVSS 4.0) and the ability to invoke the hough lines operation with a specifically crafted input that triggers an internal failure condition within that code path (AC:H, AT:P). The memory leak only manifests when this particular failure mode is hit - not during normal hough lines execution - meaning a generic image file will not trigger the vulnerability. There is no network-based exploitation path; this cannot be exploited remotely. The leak is explicitly described as 'small,' meaning a single trigger produces negligible impact and sustained, repeated invocations are required to approach any meaningful availability degradation. No user interaction beyond the attacker's own actions is required (UI:N), but the local-only vector and prerequisite failure condition substantially limit the realistic attacker population. |
| Impact | The CVSS 4.0 score of 2.1 with vector AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N accurately characterises the minimal real-world risk: local attack vector, high complexity, and specific attack prerequisites (AT:P) mean this cannot be exploited remotely or trivially. Impact is capped at low availability (VA:L) with confirmed zero confidentiality or integrity impact, contradicting the 'Information Disclosure' tag supplied by VulnCheck - that tag appears to be a misclassification inconsistent with both the CVSS vector and vulnerability description, and should not be relied upon. No EPSS score was provided; no KEV listing exists; no public exploit code has been identified. This is a real-but-minor bug appropriate for routine maintenance patching rather than emergency response. The only plausible risk scenario involves a local user repeatedly triggering the failure condition to gradually exhaust process memory, which is an impractical denial-of-service vector given the leak is described as small. |
| Exploit ScenarioDerived | A local user with access to an ImageMagick deployment submits a crafted image file designed to invoke the hough lines operation and trigger the specific internal failure condition, causing a small heap allocation to go unfreed. By scripting repeated submissions of such images, the attacker gradually accumulates leaked memory in the ImageMagick process, potentially degrading or crashing the service over an extended period. No public exploit code exists, and the high attack complexity combined with the prerequisite attack conditions makes opportunistic or remote exploitation infeasible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
ImageMagick's hough lines operation leaks a small amount of memory when a specific internal sub-operation fails, affecting the 7.x branch before 7.1.2-26 and the 6.x legacy branch before 6.9.13-51. This CWE-401 flaw is locally exploitable only under high attack complexity with specific prerequisites, producing a low availability impact with no confidentiality or integrity consequence - reflected in the CVSS 4.0 score of 2.1. No public exploit or active exploitation has been identified at time of analysis; this is a low-priority maintenance patch with no realistic threat-actor motivation.
RemediationAI
Upgrade ImageMagick 7.x installations to version 7.1.2-26 or later, and ImageMagick 6.x installations to version 6.9.13-51 or later, as confirmed by GitHub Security Advisory GHSA-j8rh-v2r8-v94x (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j8rh-v2r8-v94x). If patching cannot be applied immediately, a specific compensating control is to restrict the hough lines coder in ImageMagick's policy.xml by adding a deny rule for the relevant operation, which prevents the vulnerable code path from executing at the cost of disabling Hough Transform line-detection functionality for legitimate workflows. Alternatively, enforcing strict resource limits (memory ceiling) via policy.xml will bound the impact of any leak to a capped allocation rather than unlimited growth. Given the very low severity, this fix is appropriate for inclusion in the next scheduled maintenance window rather than an emergency patch cycle.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 18 packages in nuget, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ImageMagick is an open-source image processing library and command-line toolkit used extensively for image conversion, manipulation, and rendering across Linux, macOS, and containerized web stacks. The hough lines operation implements the Hough Transform algorithm for detecting straight lines within images. CWE-401 (Missing Release of Memory after Effective Lifetime) indicates that the error-handling path within this operation fails to free a small heap allocation when a specific internal condition fails - a classic resource cleanup omission in error branches. CPE string cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* confirms both the 7.x and 6.x release branches are within scope. Because the leak is described as 'small' and tied to a failure condition rather than normal execution, it requires crafted or unusual input to trigger consistently.
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:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Local-only vector and high complexity due to specific internal failure trigger required; no confidentiality or integrity impact, only low availability loss from a small unfreed allocation.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak occurs.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-44614
GHSA-3w79-77cj-g7x9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB