CVE-2020-27771

State
Published
Severity
Not scored
Published
Dec 4, 2020
Updated
Aug 4, 2024
Reserved
Oct 27, 2020

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
ImageMagickn/a
  • ImageMagick 7.0.9-0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.