Vulnerability · Published Jun 10, 2026 · Assigned by GitHub_M

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

Medium 5.9

In plain English

A medium-severity use-after-free in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.2%top 86.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23imagemagick7.1.2.25-r0ALPINE-CVE-2026-53462
Alpine:v3.24imagemagick7.1.2.25-r0ALPINE-CVE-2026-53462
Debian:14imagemagick8:7.1.2.25+dfsg1-1DEBIAN-CVE-2026-53462
NuGetmagick.net-q16-anycpu14.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-hdri-anycpu14.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-hdri-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-hdri-openmp-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-hdri-x6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-hdri-x8614.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-openmp-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-openmp-x6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-x6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q16-x8614.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-anycpu14.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-openmp-arm6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-openmp-x6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-x6414.14.0GHSA-px7q-ggqj-hcf2
NuGetmagick.net-q8-x8614.14.0GHSA-px7q-ggqj-hcf2
Ubuntu:25.10imagemagickno fix listedUBUNTU-CVE-2026-53462
Ubuntu:26.10imagemagickno fix listedUBUNTU-CVE-2026-53462

Affected products (as reported)

VendorProductVersions
ImageMagick ImageMagick < 6.9.13-50< 7.1.2-25

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References