CVE-2020-27760

Published: 03 December 2020

In `GammaImage()` of /MagickCore/enhance.c, depending on the `gamma` value, it's possible to trigger a divide-by-zero condition when a crafted input file is processed by ImageMagick. This could lead to an impact to application availability. The patch uses the `PerceptibleReciprocal()` to prevent the divide-by-zero from occurring. This flaw affects ImageMagick versions prior to ImageMagick 7.0.8-68.

Priority

Low

CVSS 3 base score: 5.5

Status

Package Release Status
imagemagick
Launchpad, Ubuntu, Debian
Upstream
Released (8:6.9.11.24+dfsg-1)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
Ubuntu 20.10 (Groovy Gorilla)
Released (8:6.9.10.23+dfsg-2.1ubuntu13.3)
Ubuntu 20.04 LTS (Focal Fossa)
Released (8:6.9.10.23+dfsg-2.1ubuntu11.4)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (8:6.9.7.4+dfsg-16ubuntu6.11)
Ubuntu 16.04 ESM (Xenial Xerus) Needs triage

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/ImageMagick/ImageMagick6/commit/83cd04f580ccf4cc194813777c1fcfba78e602aa