CVE-2025-55212 Details
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.
A denial-of-service vulnerability has been identified in ImageMagick versions prior to 6.9.13-28 and 7.1.2-2. The issue arises when a geometry string containing only a colon is passed to the 'montage' command. This input is improperly parsed, leading to a width and height of zero. Subsequently, the 'ThumbnailImage' function attempts to resize an image using these dimensions, causing a divide-by-zero error that crashes the application. The vulnerability can be exploited without any external input files, using a simple command that includes the 'montage' geometry option. The ImageMagick process then terminates abnormally, such as with a SIGFPE signal, indicating a floating-point exception.
Users can upgrade to ImageMagick versions 6.9.13-28 or 7.1.2-2 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-369 | Divide By Zero | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| imagemagick imagemagick | < 6.9.13-28 >= 7.0.0-0, < 7.1.2-2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 2, 2025 | Initial Analysis | [email protected] |
| Aug 26, 2025 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | New CVE Received | [email protected] |