CVE-2020-27756
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.
How to fix
- imagemagick imagemagick6.9.10-69, 7.0.9-0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| imagemagick imagemagick | 6.9.9-34 ≤ v < 6.9.10-69, 7.0.0-0 ≤ v < 7.0.9-0 | 6.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.