{"cve":"CVE-2020-5312","nvd":{"published":"2020-01-03T01:15:11.243","modified":"2026-06-17T03:21:15.510","status":"Modified","description":"libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-120"],"references":["https://access.redhat.com/errata/RHSA-2020:0566","https://access.redhat.com/errata/RHSA-2020:0578","https://access.redhat.com/errata/RHSA-2020:0580","https://access.redhat.com/errata/RHSA-2020:0681","https://access.redhat.com/errata/RHSA-2020:0683"],"products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:01:01.339895972+00:00"},"epss":{"cve":"CVE-2020-5312","score":0.0369,"percentile":0.89705,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p49h-hjvm-jg3h","url":"https://osv.dev/vulnerability/GHSA-p49h-hjvm-jg3h","summary":"PCX P mode buffer overflow in Pillow","modified":"2024-10-08T13:23:23.927728Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<6.2.2"],"fixed":["6.2.2"]}]},{"id":"PYSEC-2020-83","url":"https://osv.dev/vulnerability/PYSEC-2020-83","summary":"","modified":"2023-12-06T01:00:36.307889Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<6.2.2"],"fixed":["6.2.2"]}]}],"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."]}