# CVE-2025-53019: ImageMagick has Memory Leak in magick stream

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-14 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-53019, DEBIAN-CVE-2025-53019, CGA-jvpc-37cc-mpxp, CGA-p29v-9mf3-3v66, GHSA-cfh4-9f7v-fhrc, ALPINE-CVE-2025-53019
- Record: https://cvemate.com/vulnerability/CVE-2025-53019 · JSON: https://cvemate.com/vulnerability/CVE-2025-53019/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.558%, percentile 47.923%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- alpine imagemagick (Alpine Linux): ≥ 7.0.0-0, \< 7.1.2.8-r0 \| \< 7.1.2.8-r0
- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.6+deb12u4 \| \< 8:7.1.1.43+dfsg1-1+deb13u1 \| \< 8:7.1.1.47+dfsg1-2
- ubuntu imagemagick (Ubuntu): \< 8:6.8.9.9-7ubuntu5.16+esm12 \| \< 8:6.9.7.4+dfsg-16ubuntu6.15+esm4 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2 \| \< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
- imagemagick imagemagick: \< 7.1.2-0 \| \< 6.9.13-26 \| ≥ 7.0.0-0, \< 7.1.2-0
- NuGet Magick.NET-Q16-AnyCPU (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-AnyCPU (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-HDRI-x86 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q16-x86 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q8-AnyCPU (NuGet): \< 14.7.0
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.7.0
- NuGet Magick.NET-Q8-OpenMP-arm64 (NuGet): \< 14.7.0

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrc>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html>
- <https://ubuntu.com/security/CVE-2025-53019>
- <https://www.cve.org/CVERecord?id=CVE-2025-53019>
- <https://ubuntu.com/security/notices/USN-7728-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-53019>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53019.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53019>
- <https://github.com/ImageMagick/ImageMagick/commit/fc3ab0812edef903bbb2473c0ee652ddfd04fe5c>
- <https://github.com/ImageMagick/ImageMagick6/commit/d49460522669232159c2269fa64f73ed30555c1b>
- <https://github.com/ImageMagick/ImageMagick>
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0>
- <https://security.alpinelinux.org/vuln/CVE-2025-53019>

---

Data as of 2026-12-05T09:08:51.029Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
