CVE-2020-27760
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.
Does this matter?
Lower severity and a low EPSS score (1.43%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS
- 1.43% probability · 72th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-369
- Affected
- imagemagick/imagemagick · debian/debian linux
- Source
- secalert@redhat.com
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894239Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1894239Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.