CVE-2026-23952: Magick.NET Q8 x64 ImageMagick Has A NULL Pointer Vulnerability
MODERATECVE-2026-23952 is a MODERATE (CVSS 6.5) imagemagick has a null pointer vulnerability (CWE-476: NULL Pointer Dereference) affecting Magick.NET Q8 x64 libraries in the NuGet ecosystem. The issue involves imagemagick has a null pointer dereference in msl parser via <comment> tag before image load. Remediation is available by upgrading affected packages to version 14.10.2.
CVE-2026-23952 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-23952
To remediate this vulnerability, upgrade all affected Magick.NET Q8 x64 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-Q8-x64 to 14.10.2
Upgrade Magick.NET-Q8-arm64 to 14.10.2
Upgrade Magick.NET-Q8-x86 to 14.10.2
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.10.2
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.10.2
Upgrade Magick.NET-Q16-x64 to 14.10.2
Upgrade Magick.NET-Q16-arm64 to 14.10.2
Upgrade Magick.NET-Q16-x86 to 14.10.2
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.10.2
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.10.2
Upgrade Magick.NET-Q16-OpenMP-x86 to 14.10.2
Upgrade Magick.NET-Q16-HDRI-x64 to 14.10.2
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.10.2
Upgrade Magick.NET-Q16-HDRI-x86 to 14.10.2
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.2
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.2
Upgrade Magick.NET-Q8-AnyCPU to 14.10.2
Upgrade Magick.NET-Q16-AnyCPU to 14.10.2
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.10.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Magick.NET-Q8-x64
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-23952, inspect your project dependencies for Magick.NET Q8 x64:
inspect dependencies for Magick.NET-Q8-x64
Analyze the terminal output to locate any version of Magick.NET Q8 x64 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.2), 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-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Magick.NET Q8 x64, 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-23952 Affected Magick.NET Q8 x64 Versions
19 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Magick.NET-Q8-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q8-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q8-x86
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q8-OpenMP-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q8-OpenMP-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-x86
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-OpenMP-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-OpenMP-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-OpenMP-x86
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-x86
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-OpenMP-x64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-OpenMP-arm64
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q8-AnyCPU
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-AnyCPU
|
NuGet |
< 14.10.2
|
14.10.2
|
|
Magick.NET-Q16-HDRI-AnyCPU
|
NuGet |
< 14.10.2
|
14.10.2
|
References
Frequently Asked Questions
What is CVE-2026-23952?
Which Magick.NET Q8 x64 versions are affected?
What version fixes CVE-2026-23952?
Is Magick.NET-Q8-x64 affected?
Is Magick.NET-Q8-arm64 affected?
What is the CVSS score of CVE-2026-23952?
What CWE is associated with CVE-2026-23952?
How can I check NuGet dependencies for CVE-2026-23952?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vx3-wx4q-6cj8",
"modified" : "2026-01-21T01:06:51Z",
"published" : "2026-01-21T01:06:51Z",
"aliases" : [ "CVE-2026-23952" ],
"summary" : "ImageMagick has a NULL pointer dereference in MSL parser via <comment> tag before image load",
"details" : "## Summary\n\nNULL pointer dereference in MSL (Magick Scripting Language) parser when processing `<comment>` tag before any image is loaded.\n\n## Version\n\n- ImageMagick 7.x (tested on current main branch)\n- Commit: HEAD\n\n## Steps to Reproduce\n\n### Method 1: Using ImageMagick directly\n\n```bash\nmagick MSL:poc.msl out.png\n```\n\n### Method 2: Using OSS-Fuzz reproduce\n\n```bash\npython3 infra/helper.py build_fuzzers imagemagick\npython3 infra/helper.py reproduce imagemagick msl_fuzzer poc.msl\n```\n\nOr run the fuzzer directly:\n```bash\n./msl_fuzzer poc.msl\n```\n\n## Expected Behavior\n\nImageMagick should handle the malformed MSL gracefully and return an error message.\n\n## Actual Behavior\n\n```\nconvert: MagickCore/property.c:297: MagickBooleanType DeleteImageProperty(Image *, const char *): Assertion `image != (Image *) NULL' failed.\nAborted\n```\n\n## Root Cause Analysis\n\nIn `coders/msl.c:7091`, `MSLEndElement()` calls `DeleteImageProperty()` on `msl_info->image[n]` when handling the `</comment>` end tag without checking if the image is NULL:\n\n```c\nif (LocaleCompare((const char *) tag,\"comment\") == 0 )\n {\n (void) DeleteImageProperty(msl_info->image[n],\"comment\"); // No NULL check\n ...\n }\n```\n\nWhen `<comment>` appears before any `<read>` operation, `msl_info->image[n]` is NULL, causing the assertion failure in `DeleteImageProperty()` at `property.c:297`.\n\n## Impact\n\n- **DoS**: Crash via assertion failure (debug builds) or NULL pointer dereference (release builds)\n- **Affected**: Any application using ImageMagick to process user-supplied MSL files\n\n## Fuzzer\n\nThis issue was discovered using a custom MSL fuzzer:\n\n```cpp\n#include <cstdint>\n#include <Magick++/Blob.h>\n#include <Magick++/Image.h>\n#include \"utils.cc\"\n\nextern \"C\" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)\n{\n if (IsInvalidSize(Size))\n return(0);\n try\n {\n const Magick::Blob blob(Data, Size);\n Magick::Image image;\n image.magick(\"MSL\");\n image.fileName(\"MSL:\");\n image.read(blob);\n }\n catch (Magick::Exception)\n {\n }\n return(0);\n}\n```\n\nThis issue was found by Team FuzzingBrain @ Texas A&M University",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-OpenMP-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-OpenMP-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-OpenMP-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-OpenMP-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q8-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Magick.NET-Q16-HDRI-AnyCPU"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "14.10.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5vx3-wx4q-6cj8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ImageMagick/ImageMagick"
}, {
"type" : "WEB",
"url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-476" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T01:06:51Z",
"nvd_published_at" : null
}
}