CVE-2025-55154 ImageMagick: integer overflows in MNG magnification

High 8.8 Published Updated

Integer overflows in ImageMagick's MNG image processing can lead to memory corruption, allowing attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-55154?

CVE-2025-55154 is a high-severity vulnerability in Imagemagick Imagemagick, published on 13 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, the magnified size calculations in ReadOneMNGIMage (in coders/png.c) are unsafe and can overflow, leading to memory corruption. This issue has been patched in versions 6.9.13-27 and 7.1.2-1.

Weakness: CWE-190

Which versions are affected by CVE-2025-55154?

36 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.8.0
Magick.NET-Q16-AnyCPU NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.8.0
30 more packages
Magick.NET-Q16-HDRI-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.8.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.8.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q16-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-arm64 NuGetAll versions14.8.0
Magick.NET-Q16-x64 NuGetAll versions14.8.0
Magick.NET-Q16-x64 NuGetAll versions14.8.0
Magick.NET-Q16-x86 NuGetAll versions14.8.0
Magick.NET-Q16-x86 NuGetAll versions14.8.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.8.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.8.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.8.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.8.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.8.0
Magick.NET-Q8-arm64 NuGetAll versions14.8.0
Magick.NET-Q8-arm64 NuGetAll versions14.8.0
Magick.NET-Q8-x64 NuGetAll versions14.8.0
Magick.NET-Q8-x64 NuGetAll versions14.8.0
Magick.NET-Q8-x86 NuGetAll versions14.8.0
Magick.NET-Q8-x86 NuGetAll versions14.8.0
Linux distribution packages (4)
ImageMagick Red Hat:rhel_els:7All versions0:6.9.10.68-8.el7_9
ImageMagick-c++ Red Hat:rhel_els:7All versions0:6.9.10.68-8.el7_9
ImageMagick-c++-devel Red Hat:rhel_els:7All versions0:6.9.10.68-8.el7_9
ImageMagick-debuginfo Red Hat:rhel_els:7All versions0:6.9.10.68-8.el7_9

Products include Imagemagick Imagemagick.

How do I fix CVE-2025-55154?

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

Is CVE-2025-55154 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as CLSA-2025-1759331689, CLSA-2025-1759856673, DEBIAN-CVE-2025-55154, ECHO-cad7-f2e3-f7a4, GHSA-qp29-wxp5-wh82, JLSEC-2026-921 and 7 more.

Is CVE-2025-55154 in your software?

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

Check your SBOMs for free