Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Magick.NET-Q16-arm64
  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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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-arm64/GHSA-qp59-x883-77qv.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:41 +0000.