CVE-2025-53101ImageMagick Buffer Underwrite ('Buffer Underflow')
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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 v3.1 Base Metrics — Score 7.4 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- ImageMagick < 6.9.13-26
- ImageMagick >= 7.0.0-0 and < 7.1.2-0
- ImageMagick 6.9.13-26
- ImageMagick 7.1.2-0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run ImageMagick and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jul 14, 2025Published
- Aug 25, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ImageMagick CVEsYou are reading CVE-2025-53101. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 28, 2026 02:15 UTC