CVE-2025-53101: ImageMagick

Critical severity, CVSS 9.8. EPSS: 0.9% chance of exploitation in the next 30 days.

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.

Affected products

  • ImageMagick ImageMagick: before 6.9.13-26 (fixed in 6.9.13-26); from 7.0.0-0, before 7.1.2-0 (fixed in 7.1.2-0)

Published 2025-07-14. Last modified 2026-06-17.