{"id":"UBUNTU-CVE-2026-56364","details":"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.","modified":"2026-11-29T23:00:17.683459261Z","published":"2026-06-30T23:17:00Z","upstream":["CVE-2026-56364"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-56364"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-56364"},{"type":"REPORT","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv"},{"type":"REPORT","url":"https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26f"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xml"}],"affected":[{"package":{"name":"imagemagick","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/imagemagick?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8:7.1.1.43+dfsg1-1","8:7.1.1.43+dfsg1-1ubuntu1","8:7.1.1.43+dfsg1-1ubuntu2","8:7.1.2.3+dfsg1-1","8:7.1.2.3+dfsg1-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"imagemagick","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"imagemagick-7-common","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"imagemagick-7.q16"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"imagemagick-7.q16hdri"},{"binary_name":"libimage-magick-perl","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libimage-magick-q16-perl","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libimage-magick-q16hdri-perl","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagick++-7-headers"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagick++-7.q16-5"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagick++-7.q16hdri-5"},{"binary_name":"libmagickcore-7-arch-config","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7-headers"},{"binary_name":"libmagickcore-7.q16-10","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libmagickcore-7.q16-10-extra","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7.q16hdri-10"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7.q16hdri-10-extra"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickwand-7-headers"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickwand-7.q16-10"},{"binary_name":"libmagickwand-7.q16hdri-10","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"perlmagick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56364.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L","source":"CNA"},{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}