CVE-2020-27766Integer Overflow or Wraparound in Imagemagick

Severity
7.8HIGHNVD
OSV6.5
EPSS
0.1%
top 66.85%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 4
Latest updateOct 15

Description

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.8-69.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.24+dfsg-1 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.0.8-69+1
Debianimagemagick/imagemagick< 8:6.9.11.24+dfsg-1+3
Ubuntuimagemagick/imagemagick< 8:6.8.9.9-7ubuntu5.16+esm2
CVEListV5imagemagick/imagemagickImageMagick 7.0.8-69

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-j528-h65h-2m8h: A flaw was found in ImageMagick in MagickCore/statistic2022-05-24
OSV
imagemagick vulnerabilities2022-03-18
OSV
CVE-2020-27766: A flaw was found in ImageMagick in MagickCore/statistic2020-12-04

📋Vendor Advisories

5
Ubuntu
ImageMagick vulnerabilities2024-10-15
Ubuntu
ImageMagick vulnerabilities2022-03-18
Ubuntu
ImageMagick vulnerabilities2021-06-15
Debian
CVE-2020-27766: imagemagick - A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submi...2020
Red Hat
ImageMagick: outside the range of representable values of type 'unsigned long' at MagickCore/statistic.c2019-10-09

💬Community

1
Bugzilla
CVE-2020-27766 ImageMagick: outside the range of representable values of type 'unsigned long' at MagickCore/statistic.c2020-11-04