CVE-2025-55212 — Divide By Zero in Imagemagick
Severity
7.5HIGHNVD
OSV7.8
EPSS
0.3%
top 48.13%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 26
Latest updateSep 18
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6
Affected Packages5 packages
Patches
🔴Vulnerability Details
4OSV▶
CVE-2025-55212: ImageMagick is free and open-source software used for editing and manipulating digital images↗2025-08-26
OSV▶
ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash↗2025-08-26
GHSA▶
ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash↗2025-08-26