CVE-2025-55298ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution
- 7.5HighCVSS base score
- 4.8%Exploitation in 30 daysEPSS · top 7.8% 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. 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.
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-9ccg-6pjw-x645 (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 14 days later
· 14 days later
Published
- 2 months later
· 2 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.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.8% · top 7.8% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected < 7.1.2-2
- affected < 6.9.13-28
Affected packages
Affected packages18
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-AnyCPUGHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-AnyCPUGHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x86GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q16-x86GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-AnyCPUGHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-9ccg-6pjw-x645 (opens in a new tab)
- NuGetMagick.NET-Q8-x86GHSA-9ccg-6pjw-x645 (opens in a new tab)
References
References4
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645 (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5 (opens in a new tab)x_refsource_MISC
- https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 (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-25836 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9ccg-6pjw-x645 (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-55298)Record last updated .