CVE-2026-56364

ImageMagick - Memory Leak in LoadOpenCLDeviceBenchmark() via Malformed XML

State
Published
Severity
1.8 Low
Published
Jun 30, 2026
Updated
Jul 1, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.01.8 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.11.9 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
ImageMagickImageMagick
  • before 7.1.2-13Affected
  • 7.1.2-13Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.