CVE-2026-25969: Magick.NET Q16 AnyCPU Image Magick Has A Memory Vulnerability
MODERATECVE-2026-25969 is a MODERATE (CVSS 5.3) image magick has a memory vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Magick.NET Q16 AnyCPU libraries in the NuGet ecosystem. The issue involves image magick has a memory leak in coders/ashlar.c. Remediation is available by upgrading affected packages to version 14.10.3.
CVE-2026-25969 at a Glance
Security Impact
CVSS: 5.3
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:L).
How to Fix CVE-2026-25969
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-Q16-x86 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-25969, 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-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 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-25969 Affected Magick.NET Q16 AnyCPU Versions
18 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-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 CVE-2026-25969?
Which Magick.NET Q16 AnyCPU versions are affected?
What version fixes CVE-2026-25969?
Is Magick.NET-Q16-AnyCPU affected?
Is Magick.NET-Q16-HDRI-AnyCPU affected?
What is the CVSS score of CVE-2026-25969?
What CWE is associated with CVE-2026-25969?
How can I check NuGet dependencies for CVE-2026-25969?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xgm3-v4r9-wfgm",
"modified" : "2026-02-24T15:43:28Z",
"published" : "2026-02-24T15:43:28Z",
"aliases" : [ "CVE-2026-25969" ],
"summary" : "Image Magick has a Memory Leak in coders/ashlar.c",
"details" : "Memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak.\n\n```\n```bash\n==78968== Memcheck, a memory error detector\n==78968== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.\n==78968== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info\n==78968== \n==78968== HEAP SUMMARY:\n==78968== in use at exit: 17,232 bytes in 4 blocks\n==78968== total heap usage: 4,781 allocs, 4,777 frees, 785,472 bytes allocated\n```",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/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-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-xgm3-v4r9-wfgm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25969"
}, {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/commit/a253d1b124ebdcc2832daac6f9a35c362635b40e"
}, {
"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-401" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-24T15:43:28Z",
"nvd_published_at" : "2026-02-24T02:16:01Z"
}
}