CVE & CISA-KEV Catalog

CVE-2025-53101

HIGH
7.4
CVSS v3
NVD

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.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u6CVE-2025-53101
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u4CVE-2025-53101
Fixed in:8:7.1.1.43+dfsg1-1+deb13u1CVE-2025-53101
Fixed in:8:7.1.1.47+dfsg1-2CVE-2025-53101
imagemagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm13USN-7728-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm12USN-7728-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2USN-7728-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm12USN-7728-1
libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagick++-6.q16-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagick++-6.q16hdri-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagick++-6.q16hdri-8Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagick++-6.q16hdri-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagick++5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm13USN-7728-1
libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm12USN-7728-1
libmagickcore-6.q16-2-extraUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm12USN-7728-1
libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickcore-6.q16-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickcore-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2USN-7728-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickcore-6.q16-6-extraUbuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickcore-6.q16-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickcore-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickcore-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickcore-6.q16hdri-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickcore-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2USN-7728-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickcore-6.q16hdri-6-extraUbuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickcore-6.q16hdri-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickcore-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickcore5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm13USN-7728-1
libmagickcore5-extraUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm13USN-7728-1
libmagickwand-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm12USN-7728-1
libmagickwand-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickwand-6.q16-6Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickwand-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickwand-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm4USN-7728-1
libmagickwand-6.q16hdri-6Ubuntu
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2USN-7728-1
libmagickwand-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1USN-7728-1
libmagickwand5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm13USN-7728-1
ImageMagick Q16Windows application
Affected:6.9.13-26Fixed in:6.9.13-26ImageMagick Studio LLC
Affected:7.0.0-0 7.1.2-0Fixed in:7.1.2-0ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:7.0.0-0 7.1.2-0Fixed in:7.1.2-0ImageMagick Studio LLC
Affected:6.9.13-26Fixed in:6.9.13-26ImageMagick Studio LLC

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

0.79%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Exploit1
Other references1

Related Vulnerabilities

Other CWE-124 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-2426High8.887%KEV-
CVE-2023-25610Critical9.818%-Fix
CVE-2018-5388Medium6.54.0%-Fix
CVE-2018-15361Critical9.82.9%-Fix
CVE-2021-36064High7.82.7%-Fix
CVE-2023-48230Medium5.91.9%-Fix
Embed a live status badge for CVE-2025-53101
CVE-2025-53101 severity badge

Markdown

[![CVE-2025-53101](https://tridentstack.com/cve/badge/CVE-2025-53101.svg)](https://tridentstack.com/cve/CVE-2025-53101)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-53101"><img src="https://tridentstack.com/cve/badge/CVE-2025-53101.svg" alt="CVE-2025-53101"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.