Vulnerability Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.13-26 |
Related Weaknesses (CWE)
References
- https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3ePatch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8ExploitVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8ExploitVendor Advisory
FAQ
What is CVE-2025-53101?
CVE-2025-53101 is a vulnerability with a CVSS score of 7.4 (HIGH). ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multipl...
How severe is CVE-2025-53101?
CVE-2025-53101 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-53101?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick.