CVE-2025-55298

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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5
CONFIRM https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645
MISC https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html

Match rules

CPE URI Source package Min version Max version
imagemagick >= 0 < 7.1.2-2
imagemagick >= 0 < 6.9.13-28
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* imagemagick >= None < 6.9.13-28
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* imagemagick >= 7.0.0-0 < 7.1.2-2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
imagemagick edge-community 7.1.1.41-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.43-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.44-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.44-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.44-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.44-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.44-r4 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.1-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.2-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.22-community 7.1.1.41-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.22-community 7.1.2.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.3-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.3-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.22-community 7.1.2.3-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.3-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.2.3-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable