CVE-2020-27760

MEDIUM

Imagemagick < 6.9.10-68 - Divide By Zero

Title source: rule

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 36.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE
CWE-369
Status published

Affected Products (2)

imagemagick/imagemagick < 6.9.10-68
debian/debian_linux

Timeline

Published Dec 03, 2020
Tracked Since Feb 18, 2026