{"cve":"CVE-2020-27771","nvd":{"published":"2020-12-04T15:15:10.787","modified":"2026-06-17T03:09:36.790","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3},"cwes":["CWE-190"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1898290","https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html","https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","https://bugzilla.redhat.com/show_bug.cgi?id=1898290","https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html"],"products":["debian:debian_linux","imagemagick:imagemagick","redhat:enterprise_linux"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-27771","score":0.01175,"percentile":0.67572,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}