Name | CVE-2025-55298 |
Description | ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to ImageMagick versions 6.9.13-28 and 7.1.2-2, a format string bug vulnerability exists in InterpretImageFilename function where user input is directly passed to FormatLocaleString without proper sanitization. An attacker can overwrite arbitrary memory regions, enabling a wide range of attacks from heap overflow to remote code execution. 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 | 1111586 |
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 | 1111586 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645
Fixed by [1/2]: https://github.com/ImageMagick/ImageMagick/commit/1f93323df9d8c011c31bc4c6880390071f7fb895 (7.1.2-2)
Fixed by [2/2]: https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5 (7.1.2-2)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/731ce3a7aa7fabebaa322711c04ce5f5cf22edf4 (6.9.13-28)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/d789bdf7aabb955b88fbc95653aa9dbf6c5d259f (6.9.13-28)