Vulnerabilities · 2020 · Python
CVE-2020-10378
Python Pillow vulnerability
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.
Affected products
Pillow, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Pillow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f · Patch
- github.com/python-pillow/Pillow/pull/4538 · Patch
- usn.ubuntu.com/4430-1/ · Third Party Advisory
- usn.ubuntu.com/4430-2/ · Third Party Advisory
- github.com/python-pillow/Pillow/commits/master/src/libImaging
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H
- pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- nvd.nist.gov/vuln/detail/CVE-2020-10378
- cve.org/CVERecord?id=CVE-2020-10378
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.