Vulnerability
CVE-2025-55212
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.
25 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2023-2025-1206
Amazon Linux 2023 - ALAS2023-2025-1206: Medium priority package update for ImageMagick
-
ALPINE-CVE-2025-55212
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…
- ALPINE-EDGE-CVE-2025-55212
-
DEBIAN-CVE-2025-55212
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…
-
DLA-4297-1
imagemagick - security update
-
DSA-5997-1
imagemagick - security update
-
GHSA-fh55-q5pj-pxgw
ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash
-
OESA-2025-2193
ImageMagick security update
-
OESA-2025-2194
ImageMagick security update
-
OESA-2025-2196
ImageMagick security update
-
OESA-2025-2197
ImageMagick security update
-
OESA-2025-2198
ImageMagick security update
-
OESA-2025-2247
ImageMagick security update
-
RHVEX-CVE-2025-55212
ImageMagick: ImageMagick crash on crafted input
-
SUSE-SU-2025:03113-1
Security update for ImageMagick
-
SUSE-SU-2025:03150-1
Security update for ImageMagick
-
SUSE-SU-2025:03151-1
Security update for ImageMagick
-
SUSE-SU-2025:03152-1
Security update for ImageMagick
-
SUSE-SU-2025:03164-1
Security update for ImageMagick
-
SUSE-SU-2025:21211-1
Security update for ImageMagick
-
SUSEVEX-CVE-2025-55212
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…
-
UBUNTU-CVE-2025-55212
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…
-
USN-7756-1
imagemagick vulnerabilities
-
openSUSE-SU-2025:15498-1
ImageMagick-7.1.2.2-2.1 on GA media
-
openSUSE-SU-2025:20162-1
Security update for ImageMagick
References
- https://github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCore/geometry.c#L355
- https://github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCore/resize.c#L4625-L4629
- https://github.com/ImageMagick/ImageMagick/commit/5f0bcf986b8b5e90567750d31a37af502b73f2af
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fh55-q5pj-pxgw
- https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html