{"id":"CVE-2020-10378","aliases":["BIT-pillow-2020-10378","GHSA-3xv8-3j54-hgrp","PYSEC-2020-77"],"url":"https://o3.security/vulnerability/CVE-2020-10378","summary":"Out-of-bounds read in Pillow","details":"In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.","published":"2020-06-25T19:15:12.190Z","modified":"2026-10-20T13:44:14.688524058Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},"epss":{"score":0.01143,"percentile":0.67508,"asOf":"2026-11-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"7.1.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac","label":"python-pillow/Pillow@6a83e43"},"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commits/master/src/libImaging"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4430-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4430-2/"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/4538"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10378"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/issues/4750"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3xv8-3j54-hgrp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-77.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-77.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4430-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4430-2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T13:44:14.688524058Z"}}