CVE-2026-25638: ImageMagick has memory leak in msl encoder
Vulnerability summary
CVE-2026-25638 is a medium (CVSS 5.3) vulnerability in imagemagick. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.8% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, memory leak exists in `coders/msl.c`. In the `WriteMSLImage` function of the `msl.c` file, resources are allocated. But the function returns early without releasing these allocated resources. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NugetEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.37% 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 causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet19 products
- Magick.NET-Q16-AnyCPU< 14.10.3
- Magick.NET-Q16-arm64< 14.10.3
- Magick.NET-Q16-HDRI-AnyCPU< 14.10.3
- Magick.NET-Q16-HDRI-arm64< 14.10.3
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.10.3
Alpine1 product
- imagemagick≥ 7.0.0-0, < 7.1.2.15-r0 | < 7.1.2.15-r0
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u7 | < 8:7.1.1.43+dfsg1-1+deb13u6 | < 8:7.1.2.15+dfsg1-1
Imagemagick1 product
- imagemagick≥ 7.0.0, < 7.1.2-15 | < 6.9.13-40 | ≥ 7.0.0-0, < 7.1.2-15
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.13+esm21 | < 8:6.8.9.9-7ubuntu5.16+esm20 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm12 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9 | < 8:7.1.2.3+dfsg1-1ubuntu0.1
5 vendors · 23 products
References
10 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gxcx-qjqp-8vjwX Refsource CONFIRMREPORTWEBVendor Advisory