All vulnerabilities

Servers and applications

CVE-2020-27771

In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representable for the unsigned char type. The patch casts the return value of GetPixelIndex() to ssize_t type to avoid this bug. This undefined behavior could be triggered when ImageMagick processes a crafted pdf file. Red Hat Product Security marked this as…

Severity
Low 3.3
Published
4 Dec 2020
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.9.10-69, 7.0.9
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.9.10-69
  • From 7.0.0-0 before 7.0.9

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-27771
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-27771