CVE-2020-27776: Integer Overflow
A flaw was found in ImageMagick in MagickCore/statistic.c. 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 long. 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.9-0.
Other sources
In ImageMagick, there is an outside the range of representable values of type 'unsigned long' at MagickCore/statistic.c.
Reference: https://github.com/ImageMagick/ImageMagick/issues/1736
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-27776?
CVE-2020-27776 is a vulnerability found in ImageMagick that allows an attacker to trigger undefined behavior and potentially impact application availability.
What is the severity of CVE-2020-27776?
The severity of CVE-2020-27776 is medium, with a CVSS score of 3.3.
Which software versions are affected by CVE-2020-27776?
ImageMagick versions 8:6.9.11.24+dfsg-1, 8:6.9.7.4+dfsg-16ubuntu6.11, 8:6.9.10.23+dfsg-2.1ubuntu11.4, 8:6.9.10.23+dfsg-2.1ubuntu13.3, 8:6.9.10.23+dfsg-2.1+deb10u5, 8:6.9.11.60+dfsg-1.3+deb11u1, 8:6.9.11.60+dfsg-1.6, and CPE version 6.9.10-69 are affected.
How do I fix CVE-2020-27776 on Ubuntu?
To fix CVE-2020-27776 on Ubuntu, update ImageMagick to version 8:6.9.11.24+dfsg-1, 8:6.9.7.4+dfsg-16ubuntu6.11, 8:6.9.10.23+dfsg-2.1ubuntu11.4, or 8:6.9.10.23+dfsg-2.1ubuntu13.3.
Is ImageMagick 7.0.9 affected by CVE-2020-27776?
Yes, ImageMagick 7.0.9 is affected by CVE-2020-27776.