Name | CVE-2025-55212 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4297-1, DSA-5997-1 |
Debian Bugs | 1111587 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | vulnerable |
bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u6 | fixed | |
bookworm | 8:6.9.11.60+dfsg-1.6+deb12u3 | vulnerable | |
bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u4 | fixed | |
trixie | 8:7.1.1.43+dfsg1-1+deb13u1 | vulnerable | |
trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u2 | fixed | |
forky, sid | 8:7.1.2.3+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
imagemagick | source | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u6 | DLA-4297-1 | ||
imagemagick | source | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u4 | DSA-5997-1 | ||
imagemagick | source | trixie | 8:7.1.1.43+dfsg1-1+deb13u2 | DSA-5997-1 | ||
imagemagick | source | (unstable) | 8:7.1.2.3+dfsg1-1 | 1111587 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fh55-q5pj-pxgw
Fixed by [1/2]: https://github.com/ImageMagick/ImageMagick/commit/43d92bf855155e8e716ecbb50ed94c2ed41ff9f6 (7.1.2-2)
Fixed by [2/2]: https://github.com/ImageMagick/ImageMagick/commit/5f0bcf986b8b5e90567750d31a37af502b73f2af (7.1.2-2)
Fixed by [1/2]: https://github.com/ImageMagick/ImageMagick6/commit/5fddcf974342d8e5e02f604bc2297c038e3d4196 (6.9.13-28)
Fixed by [2/2]: https://github.com/ImageMagick/ImageMagick6/commit/3482953ef0af1e538cb776162a8d278141e0b9a0 (6.9.13-28)