{"id":"CVE-2020-5312","published":"2020-01-03T00:52:34Z","modified":"2024-08-04T08:22:09Z","title":"libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow","vendor":null,"product":null,"tier":"tail","description":{"text":"libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0369,"percentile":0.89972,"provenance":"source"},"cwes":[],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4272-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0566","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2020/dsa-4631","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0580","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0578","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0681","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0683","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0694","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":17.99}]},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<6.2.2"],"patched":["6.2.2"],"from":["GHSA-p49h-hjvm-jg3h","PYSEC-2020-83"],"provenance":"source"}],"summary":{"text":"The flaw is a buffer overflow in the PCX P mode decoder, located in libImaging/PcxDecode.c within the Pillow imaging library before version 6.2.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:29Z"},"euvd":{"id":"EUVD-2020-0136","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pillow-cve-2019-16865","parents":[{"from":"CVE-2019-16865","to":"CVE-2020-5312","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/PcxDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd"],"basis":"shared function","functions":["ImagingPcxDecode"]}]}],"children":[{"from":"CVE-2020-5312","to":"CVE-2020-10378","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/PcxDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7","https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2","https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd"],"basis":"shared function","functions":["ImagingPcxDecode"]},{"kind":"similar","provenance":"machine","score":0.65,"basis":"same package + description similarity"}]}]}}