{"id":"CVE-2020-5312","aliases":["BIT-pillow-2020-5312","GHSA-p49h-hjvm-jg3h","PYSEC-2020-83"],"url":"https://o3.security/vulnerability/CVE-2020-5312","summary":"PCX P mode buffer overflow in Pillow","details":"libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.","published":"2020-01-03T01:15:11.243Z","modified":"2026-08-07T15:13:41.163448Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"6.2.2"}],"fix":{"url":"https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd","label":"python-pillow/Pillow@93b22b8"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0566"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0578"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0580"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0681"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0683"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0694"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4272-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4631"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5312"},{"type":"WEB","url":"https://usn.ubuntu.com/4272-1"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-83.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-83.yaml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p49h-hjvm-jg3h"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:13:41.163448Z"}}