CVE-2020-27771

Low

Description

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 Low severity because although it could potentially lead to an impact to application availability, no specific impact was demonstrated in this case. This flaw affects ImageMagick versions prior to 7.0.9-0.

SeverityLow
CVSS3.3
Exploit probability—
ProductImagemagick
PublishedDec 4, 2020
First seenDec 4, 2020

How to fix

Update
  • imagemagick imagemagick6.9.10-69, 7.0.9 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagickv < 6.9.10-69, 7.0.0-0 ≤ v < 7.0.96.9.10-69, 7.0.9
redhat enterprise_linux5.0, 6.0, 7.0—
debian debian_linux9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-27771 · Imagemagick · Dark Radar