CVE-2020-10378
MEDIUM5.5EPSS 0.32%Out-of-bounds read in Pillow
Published: 11/3/2021Modified: 4/28/2026
Description
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 packages (4)
- Bitnami/pillowfrom 0, < 7.1.0
- Debian/pillowfrom 0, < 7.2.0-1
- PyPI/pillowfrom 0, < 7.1.0
- PyPI/pillowfrom 0, < 6a83e4324738bb0452fbe8074a995b1c73f08de7 | from 0, < 7.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
References (23)
- ADVISORYhttps://github.com/advisories/GHSA-3xv8-3j54-hgrp
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-10378
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-10378
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-77.yaml
- WEBhttps://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-77.yaml
- WEBhttps://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2
- WEBhttps://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac
- WEBhttps://github.com/python-pillow/Pillow/commits/master/src/libImaging
- WEBhttps://github.com/python-pillow/Pillow/issues/4750
- WEBhttps://github.com/python-pillow/Pillow/pull/4538
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- WEBhttps://usn.ubuntu.com/4430-1
- WEBhttps://usn.ubuntu.com/4430-1/
- WEBhttps://usn.ubuntu.com/4430-2
- WEBhttps://usn.ubuntu.com/4430-2/