Live threats

All CVEs / Imagemagick

CVE-2020-27756Imagemagick

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Dec 8, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-369
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick≥ 6.9.9-34 < 6.9.10-69
imagemagickimagemagick≥ 7.0.0-0 < 7.0.9-0

Official sources

References

Links published by the sources. Open them with care.