CVE-2026-25638
ImageMagick has memory leak in msl encoder
Reported by github_m · Published February 24, 2026
Magick.NET-Q8-OpenMP-x64 is fixed in 14.10.3 (NuGet)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Magick.NET-Q8-OpenMP-x64 | NuGet | 14.10.3 |
| Magick.NET-Q16-HDRI-x86 | NuGet | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | NuGet | 14.10.3 |
| Magick.NET-Q8-x64 | NuGet | 14.10.3 |
| Magick.NET-Q16-arm64 | NuGet | 14.10.3 |
| Magick.NET-Q16-OpenMP-x86 | NuGet | 14.10.3 |
| Magick.NET-Q8-AnyCPU | NuGet | 14.10.3 |
| Magick.NET-Q8-OpenMP-arm64 | NuGet | 14.10.3 |
| Magick.NET-Q16-HDRI-arm64 | NuGet | 14.10.3 |
| Magick.NET-Q16-AnyCPU | NuGet | 14.10.3 |
| Magick.NET-Q8-x86.NET-Q8-x64 | NuGet | 14.10.3 |
| magick.net-q16-x64 | NuGet | 14.10.3 |
16 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-15, < 6.9.13-40 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 |
| NuGet | magick.net-q16-x64 | 0 |
| amazon:2 | ImageMagick-doc | 0 |
| amazon:2 | ImageMagick-c++-devel | 0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | 0 |
| amazon:2023 | ImageMagick-c++-devel | 0 |
| amazon:2023 | ImageMagick | 0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | 0 |
| NuGet | Magick.NET-Q16-OpenMP-x86 | 0 |
| amazon:2 | ImageMagick-c++ | 0 |
| amazon:2023 | ImageMagick-libs | 0 |
| amazon:2023 | ImageMagick-devel | 0 |
| amazon:2023 | ImageMagick-perl | 0 |
| NuGet | magick.net-q8-openmp-x64 | 0 |
| ImageMagick | ImageMagick | 7.0.0, 0 |
| amazon:2023 | ImageMagick-doc | 0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | 0 |
| amazon:2 | ImageMagick-devel | 0 |
…and 21 more
Timeline
- Feb 23, 2026 CVE Published
- Feb 24, 2026 EPSS Score (30 in total, the first dated here)
- Feb 25, 2026 PoC Published (2 in total, the first dated here)
- Mar 17, 2026 Security Advisory (18 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 23, 2026 CVE Updated
- Oct 4, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-25638
vulnetix vdb fixes CVE-2026-25638
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-25638/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gxcx-qjqp-8vjw x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-25638 advisory
- https://github.com/advisories/GHSA-gxcx-qjqp-8vjw advisory
- https://github.com/ImageMagick/ImageMagick/commit/1e88fca11c7b8517100d518bc99bd8c474f02f88 patch
- https://github.com/ImageMagick/ImageMagick url
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3 url