{"id":"CVE-2020-10378","published":"2020-06-25T18:22:30Z","modified":"2024-08-04T10:58:40Z","title":"In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01143,"percentile":0.67469,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/python-pillow/Pillow/commits/master/src/libImaging","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/pull/4538","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac","tags":["x_refsource_MISC"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4430-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4430-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":13.49}]},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<7.1.0"],"patched":["7.1.0"],"from":["GHSA-3xv8-3j54-hgrp","PYSEC-2020-77"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in libImaging/PcxDecode.c, a component of the Pillow imaging library before version 7.1.0, which occurs when decoding PCX files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:32Z"},"euvd":{"id":"EUVD-2020-0130","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pillow-cve-2019-16865","parents":[{"from":"CVE-2019-16865","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/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb","https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7","https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2"],"basis":"shared function","functions":["ImagingPcxDecode"]}]},{"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"}]}]}}