CVE-2020-27774: 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 a too large shift for 64-bit type ssizet. 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 a shift exponent 65 is too large for 64-bit type 'ssizet' at MagickCore/statistic.c.
Reference: https://github.com/ImageMagick/ImageMagick/issues/1743
Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/29cee9152d1b5487cfd19443ca48935eea0cabe2
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-27774?
CVE-2020-27774 is a vulnerability in ImageMagick that allows an attacker to trigger undefined behavior, leading to a potential impact on the application availability.
How severe is CVE-2020-27774?
CVE-2020-27774 has a severity rating of 3.3, which is considered medium.
Which software versions are affected by CVE-2020-27774?
CVE-2020-27774 affects ImageMagick versions 8:6.9.10.23+dfsg-2.1ubuntu11.4, 8:6.9.10.23+dfsg-2.1ubuntu13.3, 8:6.9.7.4+dfsg-16ubuntu6.11, and 8:6.9.11.24+dfsg-1.
How can I fix CVE-2020-27774?
To fix CVE-2020-27774, upgrade ImageMagick to version 8:6.9.11.24+dfsg-1 or apply the recommended remedies provided by the software source (e.g., Ubuntu, Debian).
Where can I find more information about CVE-2020-27774?
You can find more information about CVE-2020-27774 on the MITRE CVE database, Ubuntu security notices, and the NIST National Vulnerability Database (NVD).