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
53rdpercentile

Moderate risk: more likely to be exploited than 53% 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

Common questions

How do I fix CVE-2025-53101?

Published advisories record a fix for 36 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-53101 being actively exploited?

Not that we know of. CVE-2025-53101 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.79% is the estimated probability that it will be exploited in the next 30 days. That is higher than 53% of all scored CVEs.

How severe is CVE-2025-53101?

CVE-2025-53101 has a CVSS v3 base score of 7.4, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-53101 affect?

Published advisories record a fix for imagemagick (Debian), imagemagick (Ubuntu), libmagick++-6.q16-5v5 (Ubuntu), libmagick++-6.q16-7 (Ubuntu), and 32 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.