CVE-2025-55212

ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

Published Aug 26, 2025 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4297-1 imagemagick security update
Debian DSA Debian DSA DSA-5997-1 imagemagick security update
EUVD EUVD EUVD-2025-25815 ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash
Github GHSA Github GHSA GHSA-fh55-q5pj-pxgw ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash
Ubuntu USN Ubuntu USN USN-7756-1 ImageMagick vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash
Weaknesses CWE-369
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 6:13 PM
Reserved
Aug 8, 2025, 9:55 PM
Status
Modified
Published
Aug 26, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:41 AM
Severity
Low
Public date
Aug 26, 2025, 4:43 PM