CVE-2020-27750: Divide by Zero
A flaw was found in ImageMagick in MagickCore/colorspace-private.h and MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned char and 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.8-68.
Other sources
In ImageMagick 7.0.8-67 there are 3 division by zero at MagickCore/colorspace-private.h and outside the range bug at MagickCore/quantum.h:120.
Reference: https://github.com/ImageMagick/ImageMagick/issues/1711
Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/a81ca9a1b46a96be83682af3389f0a6f3d0d389d
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-27750?
CVE-2020-27750 is a vulnerability found in ImageMagick that can trigger undefined behavior and math division by zero when processing a crafted file, leading to values outside the range of type 'unsigned char'.
How severe is CVE-2020-27750?
The severity of CVE-2020-27750 is medium, with a CVSS score of 5.5.
What software is affected by CVE-2020-27750?
The affected software includes ImageMagick versions up to 8:6.9.10.23+dfsg-2.1ubuntu13.3, 8:6.9.11.24+dfsg-1, 8:6.9.7.4+dfsg-16ubuntu6.11, 8:6.8.9.9-7ubuntu5.16+, and 8:6.9.10.23+dfsg-2.1ubuntu11.4.
How can I fix CVE-2020-27750 in ImageMagick?
To fix CVE-2020-27750, it is recommended to update ImageMagick to version 8:6.9.10.23+dfsg-2.1ubuntu13.3 or later.
Where can I find more information about CVE-2020-27750?
You can find more information about CVE-2020-27750 at the following references: [1] [2] [3]