CVE-2025-53101ImageMagick has Stack Buffer Overflow in image.c
- 7.4HighCVSS base score
- 0.95%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9 (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 19 days later
· 19 days later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.95% · top 38% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Affected products
- affected < 7.1.2-0
- affected < 6.9.13-26
Affected packages
Affected packages18
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-AnyCPUGHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-AnyCPUGHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x86GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q16-x86GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-AnyCPUGHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-qh3h-j545-h8c9 (opens in a new tab)
- NuGetMagick.NET-Q8-x86GHSA-qh3h-j545-h8c9 (opens in a new tab)
References
References3
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9 (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774 (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-21389 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qh3h-j545-h8c9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-53101)Record last updated .