CVE-2020-27756

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductImagemagick
PublishedDec 8, 2020
First seenDec 8, 2020
Weakness typeCWE-369CWE-369

How to fix

Update
  • imagemagick imagemagick6.9.10-69, 7.0.9-0 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagick6.9.9-34 ≤ v < 6.9.10-69, 7.0.0-0 ≤ v < 7.0.9-06.9.10-69, 7.0.9-0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-27756 · Imagemagick · Dark Radar