CVE-2025-53101
ImageMagick has Stack Buffer Overflow in image.c
Reported by github_m · Published July 14, 2025
Magick.NET-Q16-HDRI-arm64 is fixed in 14.7.0 (NuGet)
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 mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
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-Q16-HDRI-arm64 | NuGet | 14.7.0 |
| Magick.NET-Q16-HDRI-AnyCPU | NuGet | 14.7.0 |
| Magick.NET-Q16-HDRI-OpenMP-x64 | NuGet | 14.7.0 |
| magick.net-q8-anycpu | NuGet | 14.7.0 |
| Magick.NET-Q8-x64 | NuGet | 14.7.0 |
| Magick.NET-Q16-x64 | NuGet | 14.7.0 |
| Magick.NET-Q8-OpenMP-x64 | NuGet | 14.7.0 |
| ImageMagick-c++-devel | Amazon Linux | 6.9.10.97-1.amzn2.0.14 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-0, < 6.9.13-26 |
| amazon:2 | ImageMagick-c++-devel | 0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | 0 |
| NuGet | magick.net-q8-anycpu | 0 |
| NuGet | magick.net-q16-hdri-anycpu | 0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | 0 |
| ImageMagick | ImageMagick | 0, 0 |
| NuGet | magick.net-q16-x64 | 0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | 0 |
| NuGet | magick.net-q8-openmp-x64 | 0 |
| amazon:2023 | ImageMagick-c++-devel | 0 |
| NuGet | Magick.NET-Q16-x64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | 0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | 0 |
| NuGet | Magick.NET-Q8-x86 | 0 |
| amazon:2 | ImageMagick-perl | 0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 |
| amazon:2023 | ImageMagick-c++ | 0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | 0 |
| NuGet | Magick.NET-Q16-AnyCPU | 0 |
…and 21 more
Timeline
- Jul 13, 2025 CVE Published
- Jul 15, 2025 EPSS Score (30 in total, the first dated here)
- Mar 19, 2026 Security Advisory (3 in total, the first dated here)
- Mar 28, 2026 Coalition ESS Score (2 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-53101
vulnetix vdb fixes CVE-2025-53101
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-2025-53101/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-qh3h-j545-h8c9 x_refsource_CONFIRM
- https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-53101 advisory
- https://github.com/advisories/GHSA-qh3h-j545-h8c9 advisory
- https://github.com/ImageMagick/ImageMagick6/commit/643deeb60803488373cd4799b24d5786af90972e patch
- https://github.com/ImageMagick/ImageMagick url
- https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0 url
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html url