CVE-2025-53019: imagemagick Out-of-bounds Read
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2025-53019DEBIAN-CVE-2025-53019CGA-jvpc-37cc-mpxpCGA-p29v-9mf3-3v66GHSA-cfh4-9f7v-fhrc
Published 14-07-2025Last modified 03-11-2025
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 45.4% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
0.56%
0%100%
Low · +0.07 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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
6 scores · 6 sources · 1 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources6 sources · 3.7–7.5
- 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
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
+0.07 pp
From 0.49% on 20-09-2026
20-09-202620-10-2026
EPSS score0.56%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
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
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
5 vendors · 22 products
References
12 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cfh4-9f7v-fhrcX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory