| Name | CVE-2026-56364 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6383-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | fixed |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u15 | fixed |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u11 | fixed |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u12 | fixed |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u10 | vulnerable |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u11 | fixed |
| forky, sid | 8:7.1.2.27+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - imagemagick <not-affected> (vulnerable code introduced later)
[bullseye] - imagemagick <not-affected> (vulnerable code introduced later)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv
Introduced after: https://github.com/ImageMagick/ImageMagick/commit/5a2575faca105cecbf44bc70f7f8a177f6c4f674 (7.0.1-0)
Fixed by [1/2]: https://github.com/ImageMagick/ImageMagick/commit/951f6b0940224afc469f6a72503d6e011c688d02 (7.1.2-13)
Fixed by [2/2]: https://github.com/ImageMagick/ImageMagick/commit/5fd4e5ad05a986b00e1519fa308ca3c5cf3d09d8 (7.1.2-14)
ImageMagick function LoadOpenCLDeviceBenchmark not present in ImageMagick6