GHSA-3j4x-rwrx-xxj9: Magick.NET Q16 AnyCPU MageMagick Has A Possible Use-after-free Vulnerability

LOW
CVSS 3.7
CWE-416
Published
Advisory Summary

GHSA-3j4x-rwrx-xxj9 is a LOW (CVSS 3.7) magemagick has a possible use-after-free vulnerability (CWE-416: Use After Free) affecting Magick.NET Q16 AnyCPU libraries in the NuGet ecosystem. The issue involves magemagick has a possible use-after-free write in its pdb decoder. Remediation is available by upgrading affected packages to version 14.10.3.

GHSA-3j4x-rwrx-xxj9 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3j4x-rwrx-xxj9
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-416: Use After Free
Affected Product Magick.NET Q16 AnyCPU
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

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

How to Fix GHSA-3j4x-rwrx-xxj9

To remediate this vulnerability, upgrade all affected Magick.NET Q16 AnyCPU 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
Magick.NET-Q16-HDRI-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.10.3
Magick.NET-Q16-HDRI-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.3
Magick.NET-Q16-HDRI-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.3
Magick.NET-Q16-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-arm64 to 14.10.3
Magick.NET-Q16-HDRI-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.10.3
Magick.NET-Q16-HDRI-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-x64 to 14.10.3
Magick.NET-Q16-HDRI-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-HDRI-x86 to 14.10.3
Magick.NET-Q16-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.10.3
Magick.NET-Q16-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.10.3
Magick.NET-Q16-OpenMP-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x86 to 14.10.3
Magick.NET-Q16-x64 fixed: 14.10.3
Upgrade Magick.NET-Q16-x64 to 14.10.3
Magick.NET-Q16-x86 fixed: 14.10.3
Upgrade Magick.NET-Q16-x86 to 14.10.3
Magick.NET-Q8-AnyCPU fixed: 14.10.3
Upgrade Magick.NET-Q8-AnyCPU to 14.10.3
Magick.NET-Q8-OpenMP-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.10.3
Magick.NET-Q8-OpenMP-x64 fixed: 14.10.3
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.10.3
Magick.NET-Q8-arm64 fixed: 14.10.3
Upgrade Magick.NET-Q8-arm64 to 14.10.3
Magick.NET-Q8-x64 fixed: 14.10.3
Upgrade Magick.NET-Q8-x64 to 14.10.3
Magick.NET-Q8-x86 fixed: 14.10.3
Upgrade Magick.NET-Q8-x86 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-3j4x-rwrx-xxj9, inspect your project dependencies for Magick.NET Q16 AnyCPU:

inspect dependencies for Magick.NET-Q16-AnyCPU

Analyze the terminal output to locate any version of Magick.NET Q16 AnyCPU 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-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. In Magick.NET Q16 AnyCPU, 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

A use-after-free vulnerability exists in the PDB decoder that will use a stale pointer when a memory allocation fails and that could result in a crash or a single zero byte write. ``` ==4033155==ERROR: AddressSanitizer: UNKNOWN SIGNAL on unknown address 0x000000000000 (pc 0x5589c1971b24 bp 0x7ffdcc7ae2d0 sp 0x7ffdcc7adb20 T0) ``` ``` ==4034812==ERROR: AddressSanitizer: heap-use-after-free on address 0x7f099e9f7800 at pc 0x5605d909ab20 bp 0x7ffe52045b50 sp 0x7ffe52045b40 WRITE of size 1 at 0x7f099e9f7800 thread T0 ```

GHSA-3j4x-rwrx-xxj9 Affected Magick.NET Q16 AnyCPU Versions

19 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
Magick.NET-Q16-HDRI-AnyCPU
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-HDRI-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-OpenMP-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q16-x86
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-AnyCPU
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-OpenMP-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-OpenMP-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-arm64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-x64
NuGet
< 14.10.3
14.10.3
Magick.NET-Q8-x86
NuGet
< 14.10.3
14.10.3

References

Frequently Asked Questions

What is GHSA-3j4x-rwrx-xxj9?
GHSA-3j4x-rwrx-xxj9 is a security vulnerability in Magick.NET Q16 AnyCPU involving mageMagick has a possible use-after-free write in its PDB decoder under CWE-416: Use After Free.
Which Magick.NET Q16 AnyCPU versions are affected?
Affected versions include releases prior to 14.10.3 across affected packages: Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q16-arm64, Magick.NET-Q16-HDRI-arm64, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-OpenMP-x86, Magick.NET-Q16-x64, Magick.NET-Q16-x86, Magick.NET-Q8-AnyCPU, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x64, Magick.NET-Q8-x86.
What version fixes GHSA-3j4x-rwrx-xxj9?
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.
Is Magick.NET-Q16-HDRI-AnyCPU affected?
Yes, Magick.NET-Q16-HDRI-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-3j4x-rwrx-xxj9?
GHSA-3j4x-rwrx-xxj9 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-3j4x-rwrx-xxj9?
GHSA-3j4x-rwrx-xxj9 is classified under CWE-416: Use After Free (The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.).
How can I check NuGet dependencies for GHSA-3j4x-rwrx-xxj9?
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-3j4x-rwrx-xxj9",
  "modified" : "2026-02-25T19:12:07Z",
  "published" : "2026-02-25T19:12:06Z",
  "aliases" : [ ],
  "summary" : "mageMagick has a possible use-after-free write in its PDB decoder",
  "details" : "A use-after-free vulnerability exists in the PDB decoder that will use a stale pointer when a memory allocation fails and that could result in a crash or a single zero byte write.\n\n```\n==4033155==ERROR: AddressSanitizer: UNKNOWN SIGNAL on unknown address 0x000000000000 (pc 0x5589c1971b24 bp 0x7ffdcc7ae2d0 sp 0x7ffdcc7adb20 T0)\n```\n\n```\n==4034812==ERROR: AddressSanitizer: heap-use-after-free on address 0x7f099e9f7800 at pc 0x5605d909ab20 bp 0x7ffe52045b50 sp 0x7ffe52045b40\nWRITE of size 1 at 0x7f099e9f7800 thread T0\n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3j4x-rwrx-xxj9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/commit/168ffe18def968f886c023146a478897866fd621"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ImageMagick/ImageMagick"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-416" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-25T19:12:06Z",
    "nvd_published_at" : null
  }
}