CVE-2026-56376 ImageMagick - Heap Use-After-Free in Meta Coder

Medium 6.3 Published Updated

Remote attackers can cause a denial of service in ImageMagick by processing specially crafted image files that trigger a heap use-after-free in the meta coder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56376?

CVE-2026-56376 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2026-56376?

34 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 1 product.

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

Products include Imagemagick Imagemagick.

How do I fix CVE-2026-56376?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-56376 being exploited?

There is no known exploitation of CVE-2026-56376 in the wild and no public exploit code.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-56376, ECHO-6170-c952-1e0b, GHSA-2gq3-ww97-wfjm, JLSEC-2026-1057, MINI-786r-rxvg-q7jx, UBUNTU-CVE-2026-56376.

Is CVE-2026-56376 in your software?

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

Check your SBOMs for free