CVE-2020-10378
mediumpriority · track · 22EPSS 0.011 · 66 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-3xv8-3j54-hgrpOut-of-bounds read in Pillow2021-11-03ghsa · osvUS
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`.
- BIT-pillow-2020-103782024-03-06vendor · osvUS
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.
- PYSEC-2020-772020-06-25vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (32)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23accnnvd
- https://github.com/python-pillow/Pillow/commits/master/src/libImagingcnnvd
- https://github.com/python-pillow/Pillow/pull/4538cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-10378cnnvd
- https://packetstormsecurity.com/files/161286/Red-Hat-Security-Advisory-2021-0420-01.htmlcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan