CVE-2026-53462 ImageMagick: Use-After-Free when allocation in CheckPrimitiveExtent fails

Medium 5.9 Published Updated

A use-after-free vulnerability in ImageMagick allows attackers to cause a denial of service via failed memory allocation in CheckPrimitiveExtent.

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-53462?

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

Official description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, when an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.

Weakness: CWE-416

Which versions are affected by CVE-2026-53462?

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.14.0
Magick.NET-Q16-AnyCPU NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.14.0
28 more packages
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.14.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.14.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.14.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.14.0
Magick.NET-Q16-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-arm64 NuGetAll versions14.14.0
Magick.NET-Q16-x64 NuGetAll versions14.14.0
Magick.NET-Q16-x64 NuGetAll versions14.14.0
Magick.NET-Q16-x86 NuGetAll versions14.14.0
Magick.NET-Q16-x86 NuGetAll versions14.14.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.14.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.14.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.14.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.14.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.14.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.14.0
Magick.NET-Q8-arm64 NuGetAll versions14.14.0
Magick.NET-Q8-arm64 NuGetAll versions14.14.0
Magick.NET-Q8-x64 NuGetAll versions14.14.0
Magick.NET-Q8-x64 NuGetAll versions14.14.0
Magick.NET-Q8-x86 NuGetAll versions14.14.0
Magick.NET-Q8-x86 NuGetAll versions14.14.0

Products include Imagemagick Imagemagick.

How do I fix CVE-2026-53462?

Upgrade Magick.NET-Q16-AnyCPU to 14.14.0 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-53462 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-53462, ECHO-4a9d-de37-ca7b, GHSA-px7q-ggqj-hcf2, JLSEC-2026-1030, MINI-w839-cr7v-q5qv, UBUNTU-CVE-2026-53462.

Is CVE-2026-53462 in your software?

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

Check your SBOMs for free