CVE-2025-55212: imagemagick Divide By Zero
Vulnerability summary
CVE-2025-55212 is a high (CVSS 7.5) Divide By Zero vulnerability in imagemagick. EPSS estimates a 0.96% chance of exploitation in the next 30 days, higher than 60.8% 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 versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. 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.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NugetEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.96%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
+0.05 pp
From 0.91% 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 causeAffected 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.9.12.98+dfsg1-5.2ubuntu0.1~esm2
4 vendors · 21 products
References
15 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fh55-q5pj-pxgwX Refsource CONFIRMREPORTWEBExploitVendor Advisory
- github.com/ImageMagick/ImageMagick/commit/5f0bcf986b8b5e90567750d31a37af502b73f2afX Refsource MISCREPORTWEBPatch
- github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCore/resize.cX Refsource MISCREPORTWEBProduct