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.
References
| Link | Resource |
|---|---|
| https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26f | Patch |
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xml | Patch Third Party Advisory |
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv | Exploit Vendor Advisory |
Configurations
History
02 Jul 2026, 18:34
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26f - Patch | |
| References | () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xml - Patch, Third Party Advisory | |
| CPE | cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | |
| First Time |
Imagemagick
Imagemagick imagemagick |
01 Jul 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv - |
30 Jun 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-30 23:17
Updated : 2026-07-02 18:34
NVD link : CVE-2026-56364
Mitre link : CVE-2026-56364
CVE.ORG link : CVE-2026-56364
JSON object : View
Products Affected
imagemagick
- imagemagick
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
