CVE-2025-53101 HIGH

CVE-2025-53101: ImageMagick has Stack Buffer Overflow in image.c

Vendor Imagemagick
Product ImageMagick
Weakness CWE-124
Published July 14, 2025
Last update November 3, 2025

CVSS base score

7.4/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 14, 2025 CVE published
November 3, 2025 Record updated