What’s Vulnerable › Vulnerabilities

CVE-2026-56364: ImageMagick - Memory Leak in LoadOpenCLDeviceBenchmark() via Malformed XML

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

How to fix

Upgrade to a fixed version: ImageMagick 7.1.2-13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56364 or the next vulnerability affects your stack