What’s Vulnerable › Vulnerabilities
CVE-2025-53019: ImageMagick has Memory Leak in magick stream
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-14 · updated 2026-06-17
- Weakness: CWE-125
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 stream` command, specifying multiple consecutive `%d` format specifiers in a filename template causes a memory leak. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
Affected products
- ImageMagick: before 6.9.13-26; from 7.0.0-0 before 7.1.2-0 — fixed in 6.9.13-26, 7.1.2-0
How to fix
Upgrade to a fixed version: ImageMagick 6.9.13-26, 7.1.2-0. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrc
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrc
Get alerted when CVE-2025-53019 or the next vulnerability affects your stack