Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Magick.NET-Q16-x86
  4. ›
  5. GHSA-3q5f-gmjc-38r8

GHSA-3q5f-gmjc-38r8: ImageMagick: Memory leak in coders/txt.c without freetype

February 25, 2026

If a texture attribute is specified for a TXT file, an attempt will be made to read it via texture=ReadImage(read_info,exception);. Later, when retrieving metrics via the GetTypeMetrics function, if this function fails (i.e., status == MagickFalse), the calling function will exit immediately but fail to release the texture object, leading to memory leakage.

References

  • github.com/ImageMagick/ImageMagick
  • github.com/ImageMagick/ImageMagick/commit/e6394098af39a9689bb5f0b4eb6a9968e449a8d3
  • github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8
  • github.com/advisories/GHSA-3q5f-gmjc-38r8
  • github.com/dlemstra/Magick.NET/releases/tag/14.10.3

Code Behaviors & Features

Detect and mitigate GHSA-3q5f-gmjc-38r8 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.3

Fixed versions

  • 14.10.3

Solution

Upgrade to version 14.10.3 or above.

Impact

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

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime

Source file

nuget/Magick.NET-Q16-x86/GHSA-3q5f-gmjc-38r8.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:17:07 +0000.