CVE-2026-56376: Magick.NET Q16 AnyCPU ImageMagick Has A Possible Heap Vulnerability
LOWCVE-2026-56376 is a LOW (CVSS 3.7) imagemagick has a possible heap vulnerability (CWE-416: Use After Free) affecting Magick.NET Q16 AnyCPU libraries in the NuGet ecosystem. The issue involves imagemagick has a possible heap use after free vulnerability in its meta coder. Remediation is available by upgrading affected packages to version 14.10.3.
CVE-2026-56376 at a Glance
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).
How to Fix CVE-2026-56376
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.
Upgrade Magick.NET-Q16-AnyCPU to 14.10.3
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.3
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.3
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.10.3
Upgrade Magick.NET-Q16-HDRI-x64 to 14.10.3
Upgrade Magick.NET-Q16-HDRI-x86 to 14.10.3
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.10.3
Upgrade Magick.NET-Q16-OpenMP-x86 to 14.10.3
Upgrade Magick.NET-Q16-arm64 to 14.10.3
Upgrade Magick.NET-Q8-AnyCPU to 14.10.3
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.10.3
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.10.3
Upgrade Magick.NET-Q8-arm64 to 14.10.3
Upgrade Magick.NET-Q8-x64 to 14.10.3
Upgrade Magick.NET-Q8-x86 to 14.10.3
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 CVE-2026-56376, 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
CVE-2026-56376 Affected Magick.NET Q16 AnyCPU Versions
17 component(s)| 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-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-arm64
|
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 CVE-2026-56376?
Which Magick.NET Q16 AnyCPU versions are affected?
What version fixes CVE-2026-56376?
Is Magick.NET-Q16-AnyCPU affected?
Is Magick.NET-Q16-HDRI-AnyCPU affected?
What is the CVSS score of CVE-2026-56376?
What CWE is associated with CVE-2026-56376?
How can I check NuGet dependencies for CVE-2026-56376?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gq3-ww97-wfjm",
"modified" : "2026-09-24T20:04:20Z",
"published" : "2026-02-25T19:11:50Z",
"aliases" : [ "CVE-2026-56376" ],
"summary" : "ImageMagick has a possible heap Use After Free vulnerability in its meta coder",
"details" : "A heap Use After Free vulnerability exists in the meta coder when an allocation fails and a single byte is written to a stale pointer.\n\n```\n==535852==ERROR: AddressSanitizer: heap-use-after-free on address 0x5210000088ff at pc 0x5581bacac14d bp 0x7ffdf667edf0 sp 0x7ffdf667ede0\nWRITE of size 1 at 0x5210000088ff 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-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-2gq3-ww97-wfjm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-56376"
}, {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/commit/f5049954f12c6fcf090a776767526d2a4708d58b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ImageMagick/ImageMagick"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/imagemagick-heap-use-after-free-in-meta-coder"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-416" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T19:11:50Z",
"nvd_published_at" : null
}
}