Skip to main content
VulnerabilityPublished Updated

CVE-2025-55212: ImageMagick · Divide By Zero

Affects ImageMagickSource GCVE Database

0
Compare

Not known to be exploited · CVSS 3.7 Low : upgrade to 7.1.2-2 or 6.9.13-28 when convenient.

Data as of 29 Oct 2026, 23:50 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.7
Patch
Available – fixed in 7.1.2-2, 6.9.13-28
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade ImageMagick to 7.1.2-2 or 6.9.13-28.

Affected software

ProductAffectedFixed in
ImageMagick ImageMagickAffected
  • <7.1.2-2
  • <6.9.13-28
Fixed in
  • 7.1.2-2
  • 6.9.13-28

AI-suggested

Upgrade ImageMagick to version 6.9.13-28 or later, or 7.1.2-2 or later, where this vulnerability has been fixed. No other mitigation is required as the issue is resolved in these versions.

Description

A divide-by-zero vulnerability exists in ImageMagick versions prior to 6.9.13-28 and 7.1.2-2. When a geometry string containing only a colon (":") is passed to the montage command with the -geometry option, it causes width and height to be set to zero. This leads to a division by zero in the ThumbnailImage() function, resulting in a crash and denial of service. The issue has been fixed in versions 6.9.13-28 and 7.1.2-2.

References

Community reviews

Loading reviews…