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
No history.
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
