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.
Metrics
CVSS 3.1 1.9/10
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-13 |
References
- https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26fPatch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qvExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xmlPatch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qvExploit, Vendor Advisory
Timeline
- Published
- Jun 30, 2026
- Last modified
- Oct 25, 2026
- NVD status
- Analyzed