Description
ImageMagick before 7.1.2-13 contains a memory leak vulnerability in LoadOpenCLDeviceBenchmark() function when parsing malformed OpenCL device profile XML files with unclosed device elements. Attackers with write access to the OpenCL cache directory can place malicious XML files to exhaust memory and cause denial of service.
Affected products
imagemagick: imagemagick
References4
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp5… ExploitVendor Advisory
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp5… ExploitVendor Advisory
- github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193… Patch
- www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadope… PatchThird Party Advisory
Metrics
- CVSS 3.1
-
1.9
LOW
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L - CVSS 4.0
-
1.8
LOW
Score source: CNA
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/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 - EPSS — exploit probability
- 0% percentile: 5 · as of 16 November 2026
- CWE
- CWE-401
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.