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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.4
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS probability
- 0.83%
- CWE
- CWE-124
- Published
- 2025-07-14
- Last modified
- 2026-03-13
Affected products
- ImageMagick ImageMagick
- ImageMagick ImageMagick
Weakness type
Related vulnerabilities
- CVE-2026-40013 — An attacker that has valid credentials can submit a Sieve script containing an extreme numeric...
- CVE-2026-73075 — Vim: Out-of-bounds Access in Popup Opacity Handling
- CVE-2026-71969 — OP-TEE OS 4.10.0 Buffer Underwrite via RSA NOPAD Encrypt/Decrypt Operations
- CVE-2026-16439 — Eclipse OpenJ9 : Using -Xtrace to trace method arguments can lead to buffer underflow
- CVE-2026-26199 — Buffer underflow in `H5Iget_name `/`H5G_get_name` if size is zero
- CVE-2026-44631 — Apache HTTP Server: Heap Underflow in `ap_regname` via Signed Char Overflow
- CVE-2024-36343 — Improper input validation in the System Management Mode (SMM) communications buffer could allow a...
- CVE-2026-5089 — YAML::Syck versions before 1.38 for Perl has an out-of-bounds read