CVE-2025-55298
A public proof of concept exists; no exploitation attested.
- Published2025-08-26
- Fixed in7.1.2-2 · 6.9.13-28
- WeaknessCWE-123 · CWE-134
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-08-2618:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.x | ≥ 7.0.0-0, < 7.1.2-2 | 7.1.2-2 | NVD |
| 6.9 | < 6.9.13-28 | 6.9.13-28 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.8 | < 14.8.1 | 14.8.1 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.8 | < 14.8.1 | 14.8.1 | OSV |
16 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- ImageMagickAffected
- = < 7.1.2-2no fix stated
- = < 6.9.13-28no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-08-26
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- imagemagickUbuntu:Pro:24.04:LTSall versions · fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
- imagemagickUbuntu:Pro:22.04:LTSall versions · fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
- imagemagickUbuntu:Pro:20.04:LTSall versions · fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
- imagemagickUbuntu:Pro:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm6
- imagemagickUbuntu:Pro:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.16+esm14
- imagemagickUbuntu:Pro:14.04:LTSall versions · fixed in 8:6.7.7.10-6ubuntu3.13+esm15
- imagemagickTuxCare:Ubuntu:20.04all versions · fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+tuxcare.els5and 31 other packages
- imagemagickTuxCare:Debian:10all versions · fixed in 8:6.9.10.23+dfsg-2.1+deb10u7+tuxcare.els2and 31 other packages
39 more package ranges on OSV.dev
Vendor advisories
ImageMagick: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution
ImageMagick as a component of Red Hat Enterprise Linux 6 · ImageMagick-c++ as a component of Red Hat Enterprise Linux 6 · ImageMagick-c++-devel as a component of Red Hat Enterprise Linux 6 · +4 more
Fix
- Update Imagemagick to 7.1.2-2 · 6.9.13-28
- Workaround from the vendor Red Hat Product Security CVE-2025-55298 · 7 productsTo prevent unintended interpretation of the filename as a format string, users can explicitly disable format string parsing by defining the filename as a literal. This can be done using the following directive: In wrappers: filename:literal From the command line: -define filename:literal=true
- No fix planned, says the vendor Red Hat Product Security CVE-2025-55298 · 7 productsOut of support scope
Advisories and patches
- github.comPatch
- github.comVendor Advisory
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-08-26
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-08-26
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.18.8read 2026-10-23
- CNAweakness (CWE)CWE-123, CWE-134known since 2026-10-23
- FIRST EPSSEPSS score4.7 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-08-26
Identifiers
- EUVD-2025-25836same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9ccg-6pjw-x645same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-924same flawJulia Security Advisories · CC-BY-4.0
- MINI-h8q3-m759-mrgxsame flawMinimOS · LicenseRef-unstated
- DLA-4297-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5997-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2025-2193advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2194advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2195advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2196advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2197advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2198advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15498-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:20162-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2025:03113-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03150-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03151-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03152-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03164-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:21211-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7812-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-08-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-9ccg-6pjw-x645
Frequently asked questions
What is CVE-2025-55298?
Is CVE-2025-55298 actively exploited?
What is the CVSS score for CVE-2025-55298?
Running ImageMagick? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9ccg-6pjw-x645
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0