CVE-2025-55298
ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution
Reported by github_m · Published August 26, 2025
Magick.NET-Q8-x86 is fixed in 14.8.1 (NuGet)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to ImageMagick versions 6.9.13-28 and 7.1.2-2, a format string bug vulnerability exists in InterpretImageFilename function where user input is directly passed to FormatLocaleString without proper sanitization. An attacker can overwrite arbitrary memory regions, enabling a wide range of attacks from heap overflow to remote code execution. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.
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-x86 | NuGet | 14.8.1 |
| magick.net-q16-x64 | NuGet | 14.8.1 |
| Magick.NET-Q16-x86 | NuGet | 14.8.1 |
| ImageMagick-libs | Amazon Linux | 1:6.9.12.82-1.amzn2023.0.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-2, < 6.9.13-28 |
| NuGet | magick.net-q16-x64 | 0 |
| amazon:2023 | ImageMagick-libs | 0 |
| ImageMagick | ImageMagick | 0, 0 |
| NuGet | Magick.NET-Q16-x86 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | 0 |
| NuGet | magick.net-q8-openmp-x64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | 0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | 0 |
| amazon:2 | ImageMagick-c++-devel | 0 |
| NuGet | magick.net-q16-hdri-anycpu | 0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | 0 |
| amazon:2023 | ImageMagick-devel | 0 |
| amazon:2 | ImageMagick | 0 |
| NuGet | Magick.NET-Q8-arm64 | 0 |
| NuGet | magick.net-q16-anycpu | 0 |
| NuGet | magick.net-q8-x64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | 0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 |
…and 20 more
Timeline
- Aug 25, 2025 CVE Published
- Aug 27, 2025 EPSS Score (30 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Mar 18, 2026 Security Advisory (7 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-55298
vulnetix vdb fixes CVE-2025-55298
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-55298/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-9ccg-6pjw-x645 x_refsource_CONFIRM
- https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5 x_refsource_MISC
- https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-55298 advisory
- https://github.com/advisories/GHSA-9ccg-6pjw-x645 advisory
- https://github.com/ImageMagick/ImageMagick url
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html url