CWE
369
Advisory Published
CVE Published
Updated

CVE-2020-27760: Divide by Zero

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2020-27760?

    CVE-2020-27760 is a vulnerability in ImageMagick that allows for a divide-by-zero condition when processing a crafted input file.

  • How does CVE-2020-27760 impact application availability?

    CVE-2020-27760 could lead to an impact on application availability due to the divide-by-zero condition.

  • What is the severity of CVE-2020-27760?

    CVE-2020-27760 has a severity rating of medium with a CVSS score of 5.5.

  • Which versions of ImageMagick are affected by CVE-2020-27760?

    Versions 6.8.9.9-7ubuntu5.16+ to 6.9.11.24+dfsg-1 of ImageMagick are affected by CVE-2020-27760.

  • How do I fix the CVE-2020-27760 vulnerability?

    To fix the CVE-2020-27760 vulnerability, update ImageMagick to version 6.9.11.24+dfsg-1 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203