Vulnerabilities · 2025 · Imagemagick
CVE-2025-55298
Imagemagick vulnerability
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.
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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645
- github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5
- github.com/dlemstra/Magick.NET/releases/tag/14.8.1
- nvd.nist.gov/vuln/detail/CVE-2025-55298
- lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- github.com/advisories/GHSA-9ccg-6pjw-x645
- nvd.nist.gov/vuln/detail/CVE-2025-55298
- cve.org/CVERecord?id=CVE-2025-55298
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.