CVE-2025-53014
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-07-14
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.6 %
higher than 46 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Magick.NET-Q16-AnyCPU (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-AnyCPU (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-HDRI-x86 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-OpenMP-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-OpenMP-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q16-x86 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-AnyCPU (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-OpenMP-arm64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-OpenMP-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-x64 (NuGet) | < 14.7.0 | Affected | |
| Magick.NET-Q8-x86 (NuGet) | < 14.7.0 | Affected | |
| Imagemagick | Imagemagick | < 6.9.13-26 | Affected |
| Imagemagick | Imagemagick | ≥ 7.0.0-0, < 7.1.2-0 | Affected |
Weakness type
-
CWE-125: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
-
CWE-193: Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hm4x-r5hc-794f
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.