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.
Severity
LOW
CVSS v3
1.9
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L · source cna
CVSS v4
1.8
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
Exploit chance (EPSS)
0.154%
chance of exploitation in the next 30 days
higher than 4.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-01 |
Timeline
- 2026-01-21GitHub advisory published (GHSA-qp59-x883-77qv)160 days before publication
- 2026-06-30Published by the CNA22:08 UTC
- 2026-07-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-qp59-x883-77qv, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| NuGet Magick.NET-Q16-AnyCPU | before 14.10.2 | 14.10.2 |
| NuGet Magick.NET-Q16-HDRI-AnyCPU | before 14.10.2 | 14.10.2 |
| NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 | before 14.10.2 | 14.10.2 |
| NuGet Magick.NET-Q16-HDRI-OpenMP-x64 | before 14.10.2 | 14.10.2 |
| NuGet Magick.NET-Q16-HDRI-arm64 | before 14.10.2 | 14.10.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| imagemagick imagemagick | before 7.1.2-13fixed in 7.1.2-13 | 7.1.2-13 |
References
- https://github.com/ImageMagick/ImageMagick/commit/a52c1b402be08ef8ae193f28ac5b2e120f2fa26f
- https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-loadopencldevicebenchmark-via-malformed-xml
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56364'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56364'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56364'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56364'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).