CVEfocus › CVE database › CVE-2026-56364

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

CVSS 1.9 LowEPSS 0.2% (higher than 2% of CVEs)Published 2026-06-30Updated 2026-07-01Assigner: VulnCheck

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.

CWE-401

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
12Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10imagemagickWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-56364
Ubuntu 24.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Ubuntu 22.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Ubuntu 20.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Ubuntu 18.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Ubuntu 16.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Ubuntu 14.04imagemagickFix pendingUBUNTU-CVE-2026-56364
Debian 14imagemagickFixed8:7.1.2.13+dfsg1-1DEBIAN-CVE-2026-56364
Debian 13imagemagickFixed8:7.1.1.43+dfsg1-1+deb13u11DEBIAN-CVE-2026-56364
Red Hat Enterprise Linux 7ImageMagickUnder investigation
Red Hat Enterprise Linux 7ImageMagick-c++Under investigation
Red Hat Enterprise Linux 7ImageMagick-c++-develUnder investigation
Red Hat Enterprise Linux 7ImageMagick-develUnder investigation
Red Hat Enterprise Linux 7ImageMagick-docUnder investigation
Red Hat Enterprise Linux 7ImageMagick-perlUnder investigation
Red Hat Enterprise Linux 6ImageMagickUnder investigation
Red Hat Enterprise Linux 6ImageMagick-c++Under investigation
Red Hat Enterprise Linux 6ImageMagick-c++-develUnder investigation
Red Hat Enterprise Linux 6ImageMagick-develUnder investigation
Red Hat Enterprise Linux 6ImageMagick-docUnder investigation
Red Hat Enterprise Linux 6ImageMagick-perlUnder investigation

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.