Vulnerability in Imagemagick
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. 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 73.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick
- Debian Linux — versions 9.0
- Imagemagick — versions ImageMagick 7.0.8-68
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20210112 [SECURITY] [DLA 2523-1] imagemagick security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update (mailing-list)