First published: Tue Nov 03 2020(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ImageMagick ImageMagick | <6.9.10-68 | |
ImageMagick ImageMagick | >=7.0.0-0<7.0.8-68 | |
Debian Debian Linux | =9.0 | |
redhat/ImageMagick 7.0.8 | <68 | 68 |
debian/imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u4 8:6.9.11.60+dfsg-1.3+deb11u3 8:6.9.11.60+dfsg-1.6+deb12u2 8:6.9.11.60+dfsg-1.6+deb12u1 8:7.1.1.39+dfsg1-3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-27760 is a vulnerability in ImageMagick that allows for a divide-by-zero condition when processing a crafted input file.
CVE-2020-27760 could lead to an impact on application availability due to the divide-by-zero condition.
CVE-2020-27760 has a severity rating of medium with a CVSS score of 5.5.
Versions 6.8.9.9-7ubuntu5.16+ to 6.9.11.24+dfsg-1 of ImageMagick are affected by CVE-2020-27760.
To fix the CVE-2020-27760 vulnerability, update ImageMagick to version 6.9.11.24+dfsg-1 or higher.