Out-of-bounds Read in Python Pillow
CVE-2020-10378
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.011, 67.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (risicle/cpytraceafl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/python-pillow/Pillow/commits/master/src/libImaging (Broken Link)
- github.com/python-pillow/Pillow/pull/4538 (Patch, Issue Tracking)
- github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7 (Patch)
- pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html (Product)
- FEDORA-2020-c52106e48a (vendor-advisory)
- FEDORA-2020-d0737711b6 (vendor-advisory)
- USN-4430-1 (vendor-advisory, Third Party Advisory)
- USN-4430-2 (vendor-advisory, Third Party Advisory)