CVE Watchtower

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.
Severity Level
HIGH(7.4)
Published Date
Jul 14, 2025
Last Modified
Aug 25, 2025
Exploitation Status
Public exploit available
Root Weakness (CWE)
The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.
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:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • ImageMagick < 6.9.13-26
  • ImageMagick >= 7.0.0-0 and < 7.1.2-0
Patched Versions
  • 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.

  1. Check whether you run ImageMagick and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. 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 alerts

Data last checked: Nov 28, 2026 02:15 UTC