Unknown · Imagemagick · CVE-2025-53101
**Name of the Vulnerable Software and Affected Versions**
ImageMagick versions prior to 7.1.2-0
ImageMagick versions prior to 6.9.13-26
**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, specifying multiple consecutive `%d` format specifiers in a filename template within the `magick mogrify` command causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through the `vsnprintf()` function.
**Recommendations**
ImageMagick versions prior to 7.1.2-0: Upgrade to version 7.1.2-0 or later.
ImageMagick versions prior to 6.9.13-26: Upgrade to version 6.9.13-26 or later.