CVE-2026-23952 ImageMagick has a NULL pointer dereference in MSL parser via <comment> tag before image load

Medium 6.5 Published Updated

Attackers can cause a denial of service in ImageMagick by triggering a NULL pointer dereference in the MSL parser via a crafted comment tag.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23952?

CVE-2026-23952 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 22 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions 14.10.1 and below have a NULL pointer dereference vulnerability in the MSL (Magick Scripting Language) parser when processing <comment> tags before images are loaded. This can lead to DoS attack due to assertion failure (debug builds) or NULL pointer dereference (release builds). This issue is fixed in version 14.10.2.

Weakness: CWE-476

Which versions are affected by CVE-2026-23952?

38 open source packages ship an affected version, including Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU and Magick.NET-Q16-HDRI-OpenMP-arm64. It affects 2 products.

PackageAffectedFixed in
Magick.NET-Q16-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q16-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.10.2
32 more packages
Magick.NET-Q16-HDRI-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.10.2
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-x86 NuGetAll versions14.10.2
Magick.NET-Q16-OpenMP-x86 NuGetAll versions14.10.2
Magick.NET-Q16-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-arm64 NuGetAll versions14.10.2
Magick.NET-Q16-x64 NuGetAll versions14.10.2
Magick.NET-Q16-x64 NuGetAll versions14.10.2
Magick.NET-Q16-x86 NuGetAll versions14.10.2
Magick.NET-Q16-x86 NuGetAll versions14.10.2
Magick.NET-Q8-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q8-AnyCPU NuGetAll versions14.10.2
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.10.2
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.10.2
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.10.2
Magick.NET-Q8-arm64 NuGetAll versions14.10.2
Magick.NET-Q8-arm64 NuGetAll versions14.10.2
Magick.NET-Q8-x64 NuGetAll versions14.10.2
Magick.NET-Q8-x64 NuGetAll versions14.10.2
Magick.NET-Q8-x86 NuGetAll versions14.10.2
Magick.NET-Q8-x86 NuGetAll versions14.10.2

Products include Dlemstra Magick.net, Imagemagick Imagemagick.

How do I fix CVE-2026-23952?

Upgrade Magick.NET-Q16-AnyCPU to 14.10.2 or later.

Is CVE-2026-23952 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23952 exists.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-23952, ECHO-9aa6-b4b5-b059, GHSA-5vx3-wx4q-6cj8, JLSEC-2026-937, MINI-wh8q-w5jj-5jgq, UBUNTU-CVE-2026-23952.

Is CVE-2026-23952 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free