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.
Severity (CVSS)
| Base score | 1.8 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-401 — Missing Release of Memory after Effective Lifetime
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | 0 to <7.1.2-13; 7.1.2-13 |
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv (vendor-advisory)
- https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26f (patch)
- https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xml (third-party-advisory)
Generated from the official CVE List on 01 Jul 2026 07:05 UTC.