Vulnerabilities · 2025 · Imagemagick
CVE-2025-55212
Imagemagick vulnerability
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 products
Imagemagick. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fh55-q5pj-pxgw
- github.com/ImageMagick/ImageMagick/commit/5f0bcf986b8b5e90567750d31a37af502b73f2af
- github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCor
- github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCor
- github.com/dlemstra/Magick.NET/releases/tag/14.8.1
- nvd.nist.gov/vuln/detail/CVE-2025-55212
- lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- github.com/advisories/GHSA-fh55-q5pj-pxgw
- nvd.nist.gov/vuln/detail/CVE-2025-55212
- cve.org/CVERecord?id=CVE-2025-55212
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.