Vulnerability · Published Aug 13, 2025 · Assigned by GitHub_M

CVE-2025-55004ImageMagick: heap-buffer overflow read in MNG magnification with alpha

High 7.6

In plain English

A high-severity heap buffer overflow in ImageMagick from ImageMagick. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.5%top 53.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13imagemagick8:7.1.1.43+dfsg1-1+deb13u2DEBIAN-CVE-2025-55004
Debian:14imagemagick8:7.1.2.1+dfsg1-1DEBIAN-CVE-2025-55004
NuGetmagick.net-q16-anycpu14.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-anycpu14.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-openmp-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-openmp-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-hdri-x8614.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-openmp-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-openmp-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q16-x8614.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-anycpu14.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-openmp-arm6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-openmp-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-x6414.8.0GHSA-cjc8-g9w8-chfw
NuGetmagick.net-q8-x8614.8.0GHSA-cjc8-g9w8-chfw
Ubuntu:25.10imagemagickno fix listedUBUNTU-CVE-2025-55004

Affected products (as reported)

VendorProductVersions
ImageMagick ImageMagick < 7.1.2-1

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

References