GHSA-98gv-6gmj-cm6m: Duplicate Advisory ImageMagick: Memory Leak Vulnerability

LOW
CVSS 0.0
CWE-401
Published
Advisory Summary

GHSA-98gv-6gmj-cm6m is a LOW (CVSS 0.0) imagemagick: memory leak vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Duplicate Advisory libraries in the NuGet ecosystem. The issue involves imagemagick: memory leak in coders/txt.c without freetype. Remediation is available by upgrading affected packages to version 14.10.3.

GHSA-98gv-6gmj-cm6m at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-98gv-6gmj-cm6m
Severity LOW
CVSS v3.1 Base Score 0.0
CWE Classification CWE-401: Missing Release of Memory after Effective Lifetime
Affected Product Duplicate Advisory
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 0.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-98gv-6gmj-cm6m

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Magick.NET-Q16-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q16-AnyCPU to 14.10.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Magick.NET-Q16-AnyCPU

How to Check if You Are Affected

To determine whether your application is affected by GHSA-98gv-6gmj-cm6m, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for Magick.NET-Q16-AnyCPU

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3q5f-gmjc-38r8. This link is maintained to preserve external references. ### Original Description ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed.

GHSA-98gv-6gmj-cm6m Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
14.10.3
Product / Package Ecosystem Affected Versions Fixed Version
Magick.NET-Q16-AnyCPU
NuGet
< 14.10.3
14.10.3

References

Frequently Asked Questions

What is GHSA-98gv-6gmj-cm6m?
GHSA-98gv-6gmj-cm6m is a security vulnerability in Duplicate Advisory involving ImageMagick: Memory leak in coders/txt.c without freetype under CWE-401: Missing Release of Memory after Effective Lifetime.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 14.10.3 across affected packages: Magick.NET-Q16-AnyCPU.
What version fixes GHSA-98gv-6gmj-cm6m?
Upgrading to 14.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Magick.NET-Q16-AnyCPU affected?
Yes, Magick.NET-Q16-AnyCPU is affected in releases prior to 14.10.3. Upgrade your dependency to 14.10.3 or later.
What is the CVSS score of GHSA-98gv-6gmj-cm6m?
GHSA-98gv-6gmj-cm6m has a CVSS v3.1 base score of 0.0 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N.
What CWE is associated with GHSA-98gv-6gmj-cm6m?
GHSA-98gv-6gmj-cm6m is classified under CWE-401: Missing Release of Memory after Effective Lifetime (The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.).
How can I check NuGet dependencies for GHSA-98gv-6gmj-cm6m?
Run the dependency tree command: 'inspect dependencies for Magick.NET-Q16-AnyCPU'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-98gv-6gmj-cm6m",
  "modified" : "2026-09-24T20:02:47Z",
  "published" : "2026-06-23T15:32:37Z",
  "withdrawn" : "2026-09-24T20:02:47Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: ImageMagick: Memory leak in coders/txt.c without freetype",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-3q5f-gmjc-38r8. This link is maintained to preserve external references.\n\n### Original Description\nImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-56371"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-401" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-24T20:02:47Z",
    "nvd_published_at" : "2026-06-23T13:16:46Z"
  }
}