Cloudanix VulnDB

CVE-2025-55212

None

CVSS

—

EPSS

1.0%

Published

Aug 26, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in widely used image software lets attackers send one specific piece of input that makes the program crash, stopping any automated image tasks that depend on it.

Exploitation
Requires User Interaction
Attacker needs
Local User
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A geometry string consisting only of a colon causes GetGeometry() to set image width and height to zero; subsequent division by these zero values in ThumbnailImage() during montage processing triggers SIGFPE and abort.

Why it matters to the business

Attackers can remotely crash image-processing services that invoke montage, interrupting automated workflows that rely on ImageMagick for thumbnail generation or batch operations.

How an attack unfolds

An attacker passes the literal string ":" as the argument to the -geometry option of the montage command; the malformed input reaches the vulnerable geometry parser and later triggers the division-by-zero crash in thumbnail generation.

How to fix it

Upgrade to ImageMagick 6.9.13-28, 7.1.2-2 or newer; for GIT builds apply commit 5f0bcf986b8b5e90567750d31a37af502b73f2af.

How to confirm the fix worked

Execute 'montage -geometry : input.jpg out.jpg' on a patched build and confirm the command completes without SIGFPE; verify installed version reports 6.9.13-28 or 7.1.2-2 or later.

Typical attack path

  1. Locate an application or script that invokes ImageMagick montage with attacker-controlled geometry parameters
  2. Supply a geometry value consisting solely of the colon character
  3. Trigger execution of montage to reach GetGeometry() followed by ThumbnailImage() and induce the crash

How to detect it

Search process and system logs for abrupt termination of the montage binary accompanied by SIGFPE or abort signals; correlate with command-line arguments containing only a colon in the geometry field.

What your security team should do

  • Apply the listed fixed versions or commit to all ImageMagick installations
  • Review and sanitize any code paths that pass user input directly to montage -geometry
  • Add monitoring for ImageMagick process crashes with floating-point exceptions

The record

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

Affected packages

Ecosystem Package Introduced Fixed
NuGet Magick.NET-Q16-AnyCPU 0 14.8.1
NuGet Magick.NET-Q16-HDRI-AnyCPU 0 14.8.1
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 0 14.8.1
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 0 14.8.1
NuGet Magick.NET-Q16-HDRI-arm64 0 14.8.1
NuGet Magick.NET-Q16-HDRI-x64 0 14.8.1
NuGet Magick.NET-Q16-HDRI-x86 0 14.8.1
NuGet Magick.NET-Q16-OpenMP-arm64 0 14.8.1
NuGet Magick.NET-Q16-OpenMP-x64 0 14.8.1
NuGet Magick.NET-Q16-arm64 0 14.8.1
NuGet Magick.NET-Q16-x64 0 14.8.1
NuGet Magick.NET-Q16-x86 0 14.8.1
NuGet Magick.NET-Q8-AnyCPU 0 14.8.1
NuGet Magick.NET-Q8-OpenMP-arm64 0 14.8.1
NuGet Magick.NET-Q8-OpenMP-x64 0 14.8.1
NuGet Magick.NET-Q8-arm64 0 14.8.1
NuGet Magick.NET-Q8-x64 0 14.8.1
NuGet Magick.NET-Q8-x86 0 14.8.1
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:Leap 16.0 ImageMagick 0 7.1.2.0-160000.4.1
openSUSE:Tumbleweed ImageMagick 0 7.1.2.2-2.1

Related vulnerabilities