CVE-2025-55298: imagemagick Write-what-where Condition
Vulnerability summary
CVE-2025-55298 is a high (CVSS 8.8) Write-what-where Condition vulnerability in imagemagick. EPSS estimates a 4.65% chance of exploitation in the next 30 days, higher than 91.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 26-08-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · NugetEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
4.65%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
+0.16 pp
From 4.49% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundImagemagick
Maturity: poc
Weaknesses
CWE · root cause- CWE-123Write-what-where ConditionAny condition where the attacker has the ability to write an arbitrary value to an arbitrary location, often as the result of a buffer overflow.
- CWE-134Use of Externally-Controlled Format StringThe product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Affected systems
NuGet18 products
- magick.net-q16-anycpu< 14.8.1
- Magick.NET-Q16-arm64< 14.8.1
- magick.net-q16-hdri-anycpu< 14.8.1
- Magick.NET-Q16-HDRI-arm64< 14.8.1
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.8.1
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u4 | < 8:7.1.1.43+dfsg1-1+deb13u2 | < 8:7.1.2.3+dfsg1-1
Imagemagick1 product
- imagemagick< 7.1.2-2 | < 6.9.13-28 | ≥ 7.0.0-0, < 7.1.2-2
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.13+esm15 | < 8:6.8.9.9-7ubuntu5.16+esm14 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm6 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
4 vendors · 21 products
References
13 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645X Refsource CONFIRMREPORTWEBExploitVendor Advisory
- github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5X Refsource MISCREPORTWEBPatch