CVE-2025-53019: ImageMagick has Memory Leak in magick stream
Vulnerability summary
CVE-2025-53019 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in imagemagick. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.9% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 14-07-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · NugetEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet18 products
- Magick.NET-Q16-AnyCPU< 14.7.0
- Magick.NET-Q16-arm64< 14.7.0
- Magick.NET-Q16-HDRI-AnyCPU< 14.7.0
- Magick.NET-Q16-HDRI-arm64< 14.7.0
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.7.0
Alpine1 product
- imagemagick≥ 7.0.0-0, < 7.1.2.8-r0 | < 7.1.2.8-r0
Chainguard1 product
- imagemagick-6All versions (No fix recorded)
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u4 | < 8:7.1.1.43+dfsg1-1+deb13u1 | < 8:7.1.1.47+dfsg1-2
Imagemagick1 product
- imagemagick< 7.1.2-0 | < 6.9.13-26 | ≥ 7.0.0-0, < 7.1.2-0
Ubuntu1 product
- imagemagick< 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
6 vendors · 23 products
References
13 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrcX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory