CVE-2025-53014
CRITICAL 9.8CVSS 3.1ImageMagick has a Heap Buffer Overflow in InterpretImageFilename
ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the InterpretImageFilename function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (%%). Versions 7.1.2-0 and 6.9.13-26 fix the issue.
- Published
- 14 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-125CWE-193
- Also known as
- GHSA-hm4x-r5hc-794f
- Sources
- NVDJSONOSV GHSA-hm4x-r5hc-794fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | imagemagick | imagemagickcpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |
< 6.9.13-26 | 6.9.13-26 |
| NVD | imagemagick | imagemagickcpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |
>= 7.0.0-0, < 7.1.2-0 | 7.1.2-0 |
| OSV | NuGet | Magick.NET-Q16-AnyCPU | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-AnyCPU | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-x86 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-OpenMP-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-OpenMP-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q16-x86 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-AnyCPU | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-OpenMP-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-OpenMP-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-arm64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-x64 | < 14.7.0 | 14.7.0 |
| OSV | NuGet | Magick.NET-Q8-x86 | < 14.7.0 | 14.7.0 |
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hm4x-r5hc-794f · Exploit, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53014 · ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/29d82726c7ec20c07c49ba263bdcea16c2618e03 · WEB
- https://github.com/ImageMagick/ImageMagick6/commit/79b6ed03770781d996d1710b89fbb887e5ea758a · WEB
- https://github.com/ImageMagick/ImageMagick · PACKAGE
- https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 14 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Aug 2025)