Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local privileged access
-
DeliveryLaunch or attach to X11 session
-
ExploitPresent crafted window with malicious title
-
ExecutionInvoke ImageMagick X11 import against target window
-
PersistHeap buffer over-write triggers corruption
-
ImpactImageMagick process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) local system access with high-privilege credentials (PR:H, AV:L) - remote unauthenticated exploitation is not possible; (2) an accessible X11 display server, as the vulnerable code path is specific to the X11 import feature (AT:P - a deployment/environment prerequisite); (3) execution of ImageMagick's X11 import operation against a window whose title has been crafted to trigger the overflow; and (4) passive user interaction (UI:P), meaning a legitimate user or process must participate in the X11 session context. The impact is limited to availability (DoS) - confidentiality and integrity are not affected (VC:N/VI:N). Limiting factors: default ImageMagick deployments for image conversion do not invoke X11 import; this feature is typically used only in desktop or screen-capture workflows. Systems without an X11 environment (e.g., headless servers, containers) are not exposed to this code path. |
| Impact | The CVSS 4.0 score of 1.0 reflects a confluence of severe constraint: local attack vector (AV:L), high attack complexity (AC:H), specific attack requirements present (AT:P), high privileges required (PR:H), passive user interaction required (UI:P), and only low availability impact (VA:L) with no confidentiality or integrity impact. These metrics are internally consistent with the description - exploitation requires a privileged local actor who can invoke the X11 import feature against a crafted window title. No EPSS data was provided; given the low base score and narrow exploitation conditions, real-world exploitation probability is assessed as very low. No KEV listing and no public exploit code have been identified, further corroborating low operational risk. The primary risk vector is insider threat or a post-compromise adversary attempting to cause service disruption on image processing infrastructure. This is a low-priority issue for most environments relative to network-accessible or unauthenticated vulnerabilities. |
| Exploit ScenarioDerived | A local attacker with high privileges on a system running an X11 session invokes ImageMagick's import command targeting a window whose title has been crafted to overflow a heap buffer in the title-processing code. The resulting heap corruption causes ImageMagick to crash or renders the process unstable, producing a denial of service. No public exploit code has been identified at time of analysis, and the requirement for local privileged access with X11 available substantially limits opportunistic exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Heap-based buffer over-write in ImageMagick's X11 import functionality exposes local systems to heap memory corruption and denial of service when processing a crafted X11 window title. Affected versions span both the 7.x branch (before 7.1.2-26) and the legacy 6.x branch (before 6.9.13-51), covering a large installed base across Linux and Unix environments. No public exploit identified at time of analysis, and the narrow exploitation conditions - requiring local privileged access with X11 in scope - significantly constrain real-world risk despite the CWE-122 heap overflow class.
RemediationAI
The primary fix is to upgrade to ImageMagick 7.1.2-26 or later on the 7.x branch, or to ImageMagick 6.9.13-51 or later on the 6.x branch, as specified in the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-76q6-2p6h-xjqr. Distribution maintainers may ship backported fixes; check your package manager for updated imagemagick packages against those fix versions. As a compensating control where patching is not immediately feasible, disable or restrict access to ImageMagick's X11 import functionality by removing or restricting the 'import' binary and related X11-dependent delegates, noting that this may affect image-capture workflows. Restricting local user privileges to prevent non-administrative execution of X11 import commands also eliminates the exploitation path, given the PR:H requirement.
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
CWE-122 (Heap-based Buffer Overflow) describes a write operation that extends beyond the bounds of heap-allocated memory. In this case, the vulnerable code path is triggered during ImageMagick's X11 import operation, a feature allowing image capture from X11 window surfaces. The window title string is insufficiently validated before being written into a heap buffer, enabling an over-write when a crafted (oversized or specially structured) title is supplied. The vulnerability exists in both the 7.x (cpe:2.3:a:imagemagick:imagemagick:*) and 6.x (cpe:2.3:a:imagemagick:imagemagick:*) branches per NVD CPE data. X11 import is a non-default, explicitly invoked feature distinct from ImageMagick's standard image conversion pipelines, which limits the reachable attack surface.
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:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Local-only vector, high privilege and complexity, user interaction needed, with only low availability impact and no confidentiality or integrity effect.
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 heap-based buffer over-write vulnerability that occurs when running an X11 import with a crafted window title, which can result in heap memory corruption and 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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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
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-44652
GHSA-mqfp-wcwx-w65x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB