CVE-2025-53101

HIGH
Published Jul 14, 2025 Modified Nov 3, 2025 CWE-124

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.

Is your site exposed to CVE-2025-53101?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.4
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Weakness Type (CWE)

CWE-124 CWE-124

Affected Products

Vendor Product
imagemagick imagemagick
imagemagick imagemagick

References

Frequently Asked Questions

What is CVE-2025-53101? +
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. It has a CVSS v3.1 base score of 7.4 (HIGH).
How severe is CVE-2025-53101? +
CVE-2025-53101 has a CVSS v3.1 score of 7.4 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-53101? +
CVE-2025-53101 affects products from imagemagick, specifically: imagemagick. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-53101? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-53101 — free, no signup required.