{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:13:41.163448Z"}}