CVE-2025-53019
ImageMagick: ImageMagick Memory Leak
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-125, CWE-401
Affected packages · 19
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | ImageMagick_jll | <7.1.2001+0 | 7.1.2001+0 |
| NuGet | Magick.NET-Q16-AnyCPU | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q16-x86 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-AnyCPU | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-x64 | <14.7.0 | 14.7.0 |
| NuGet | Magick.NET-Q8-x86 | <14.7.0 | 14.7.0 |
Open a package to see all its vulnerabilities.
Operating systems · 28 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | imagemagick +5 | 7.1.2.8-1.ph4 |
| 5.0 | imagemagick +5 | 7.1.2.8-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +5 | affected |
SUSE Linux Enterprise 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | imagemagick-config-6-suse +5 | 6.8.8.1-71.207.1 | SUSE-SU-2025:02751-1 |
| 15.6 | imagemagick-config-7-upstream | 7.1.0.9-150400.6.33.1 | SUSE-SU-2025:02510-1 |
| 15.6 | imagemagick +11 | 7.1.1.21-150600.3.13.1 | SUSE-SU-2025:02511-1 |
| 15.7 | imagemagick-config-7-upstream | 7.1.0.9-150400.6.33.1 | SUSE-SU-2025:02510-1 |
| 15.7 | imagemagick +11 | 7.1.1.43-150700.3.8.1 | SUSE-SU-2025:02801-1 |
alpine 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | imagemagick | 7.1.2.8-r0 |
| 3.24 | imagemagick | 7.1.2.8-r0 |
| edge | imagemagick | 7.1.2.8-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | imagemagick +11 | 1:6.9.12.82-1.amzn2023.0.9 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u6 |
| 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u4 |
| 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u1 |
| 14 | imagemagick | 8:7.1.1.47+dfsg1-2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u4 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 7.1.2.0-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | imagemagick +14 | 7.1.2.0-1.1 | openSUSE-SU-2025:15349-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | imagemagick +1 | 8:6.9.11.60+dfsg-1.3+deb11u6 |
| 12 | imagemagick +1 | 8:6.9.11.60+dfsg-1.6+deb12u4 |
| 13 | imagemagick +1 | 8:7.1.1.43+dfsg1-1+deb13u1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +1 | 6.9.10.68-6.el7_9+sp999 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm4 |
| 20.04-ESM | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 |
| 22.04 | imagemagick | affected |
| 24.04 | imagemagick | affected |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick-6 | not affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-53019
- github.com https://github.com/ImageMagick/ImageMagick
- github.com https://github.com/ImageMagick/ImageMagick/commit/fc3ab0812edef903bbb2473c0ee652ddfd04fe5c
- github.com https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrc
- github.com https://github.com/ImageMagick/ImageMagick6/commit/d49460522669232159c2269fa64f73ed30555c1b
- github.com https://github.com/advisories/GHSA-cfh4-9f7v-fhrc
- github.com https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-53019
- ubuntu.com https://ubuntu.com/security/notices/USN-7728-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.