Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. magick.net-q16-hdri-anycpu
  4. ›
  5. GHSA-qp59-x883-77qv

GHSA-qp59-x883-77qv: ImageMagick has a Memory Leak in LoadOpenCLDeviceBenchmark() when parsing malformed XML

January 21, 2026

A memory leak vulnerability exists in the LoadOpenCLDeviceBenchmark() function in MagickCore/opencl.c. When parsing a malformed OpenCL device profile XML file that contains <device elements without proper /> closing tags, the function fails to release allocated memory for string members (platform_name, vendor_name, name, version), leading to memory leaks that could result in resource exhaustion.

Affected Version: ImageMagick 7.1.2-12 and possibly earlier versions


References

  • github.com/ImageMagick/ImageMagick
  • github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv
  • github.com/advisories/GHSA-qp59-x883-77qv
  • github.com/dlemstra/Magick.NET/releases/tag/14.10.2

Code Behaviors & Features

Detect and mitigate GHSA-qp59-x883-77qv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.10.2

Fixed versions

  • 14.10.2

Solution

Upgrade to version 14.10.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-763: Release of Invalid Pointer or Reference

Source file

nuget/magick.net-q16-hdri-anycpu/GHSA-qp59-x883-77qv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:15 +0000.