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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Imagemagick
View allReadGIFImage 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
A vulnerability was found in ImageMagick. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to R
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory cor
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Heap Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44652
GHSA-mqfp-wcwx-w65x