CVE-2020-27760

MEDIUM

ImageMagick < 6.9.10-68 - Denial of Service via GammaImage Divide-by-Zero

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html
Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1894239

Scores

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

Details

CWE
CWE-369
Status published
Products (2)
debian/debian_linux 9.0
imagemagick/imagemagick < 6.9.10-68
Published Dec 03, 2020
Tracked Since Feb 18, 2026