CVE-2021-20176: Divide by Zero
A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. The highest threat from this vulnerability is to system availability.
Other sources
A flaw was found in ImageMagick in MagickCore/gem.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.10-56.
References: https://github.com/ImageMagick/ImageMagick/issues/3077
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2021-20176?
CVE-2021-20176 is a divide-by-zero vulnerability found in ImageMagick 6.9.11-57 and 7.0.10-57.
How does CVE-2021-20176 impact system availability?
CVE-2021-20176 can cause system unavailability.
What is the severity of CVE-2021-20176?
The severity of CVE-2021-20176 is medium with a severity value of 5.5.
Which software versions are affected by CVE-2021-20176?
ImageMagick versions 6.9.11-57 and 7.0.10-57 are affected by CVE-2021-20176.
How can I fix CVE-2021-20176?
To fix CVE-2021-20176, update ImageMagick to a version that includes the fix.