Cloudanix VulnDB

CVE-2025-55154

None

CVSS

—

EPSS

1.0%

Published

Aug 13, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in widely used image software can let attackers corrupt memory and potentially seize control of systems that open certain image files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Other
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Unsafe magnified size calculations in ReadOneMNGImage (coders/png.c) permit integer overflow leading to memory corruption during PNG/MNG image parsing.

Why it matters to the business

Applications that process untrusted images risk crashes or remote code execution, potentially causing service outages, data exposure, or system compromise in environments using ImageMagick for graphics handling.

How an attack unfolds

An attacker supplies a crafted MNG or PNG file containing manipulated size metadata that triggers overflow in the magnified size computation, resulting in memory corruption that may be chained to arbitrary code execution within the parsing process.

How to fix it

Upgrade imagemagick to version containing commit 83b6fc338ae1d38602eb5f6b307393adc3a0e1a7 and imagemagick6 to commit 61bc270b01a4632a885698ab36055292737073a2, corresponding to releases 6.9.13-27 and 7.1.2-1 or newer.

How to confirm the fix worked

Confirm installed version meets or exceeds 6.9.13-27 or 7.1.2-1; recompile from updated source and test parsing of known-malformed size metadata.

Typical attack path

  1. Craft malicious image containing oversized or malformed magnified dimension values
  2. Deliver image to target via upload, attachment, or web request
  3. Vulnerable ImageMagick instance parses the file in ReadOneMNGImage
  4. Integer overflow corrupts memory structures
  5. Attacker leverages corruption for code execution or denial of service

How to detect it

Review application logs for abnormal terminations or memory errors during PNG/MNG processing; inspect for repeated parsing attempts on files with suspicious dimension headers.

What your security team should do

  • Immediately update all ImageMagick installations to the fixed commits or releases
  • Inventory dependencies and downstream packages relying on vulnerable versions
  • Disable or sandbox image processing of untrusted files until patches are applied
  • Monitor EPSS and threat intelligence for any rise in exploitation activity

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
NuGet Magick.NET-Q16-AnyCPU 0 14.8.0
NuGet Magick.NET-Q16-HDRI-AnyCPU 0 14.8.0
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 0 14.8.0
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 0 14.8.0
NuGet Magick.NET-Q16-HDRI-arm64 0 14.8.0
NuGet Magick.NET-Q16-HDRI-x64 0 14.8.0
NuGet Magick.NET-Q16-HDRI-x86 0 14.8.0
NuGet Magick.NET-Q16-OpenMP-arm64 0 14.8.0
NuGet Magick.NET-Q16-OpenMP-x64 0 14.8.0
NuGet Magick.NET-Q16-arm64 0 14.8.0
NuGet Magick.NET-Q16-x64 0 14.8.0
NuGet Magick.NET-Q16-x86 0 14.8.0
NuGet Magick.NET-Q8-AnyCPU 0 14.8.0
NuGet Magick.NET-Q8-OpenMP-arm64 0 14.8.0
NuGet Magick.NET-Q8-OpenMP-x64 0 14.8.0
NuGet Magick.NET-Q8-arm64 0 14.8.0
NuGet Magick.NET-Q8-x64 0 14.8.0
NuGet Magick.NET-Q8-x86 0 14.8.0
Debian:11 imagemagick 0 No fix
Debian:12 imagemagick 0 No fix
Debian:13 imagemagick 0 No fix
Debian:14 imagemagick 0 No fix
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 ImageMagick 0 7.1.1.21-150600.3.20.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 ImageMagick 0 7.1.1.43-150700.3.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6 ImageMagick 0 7.1.1.21-150600.3.20.1
SUSE:Linux Enterprise Module for Development Tools 15 SP7 ImageMagick 0 7.1.1.43-150700.3.13.1
openSUSE:Leap 15.6 ImageMagick 0 7.1.1.21-150600.3.20.1
openSUSE:Tumbleweed ImageMagick 0 7.1.2.1-1.1

Related vulnerabilities