Live threats

All CVEs / Imagemagick

CVE-2020-27771Imagemagick

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
Yes
Published
Dec 4, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick< 6.9.10-69
imagemagickimagemagick≥ 7.0.0-0 < 7.0.9
redhatenterprise_linux5.0
redhatenterprise_linux6.0
redhatenterprise_linux7.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.