Ubuntu CVE Tracker
UBUNTU-CVE-2020-10378
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | pillow | All versions before 3.1.2-0ubuntu1.4 (fixed in 3.1.2-0ubuntu1.4) |
| Ubuntu:18.04:LTS | pillow | All versions before 5.1.0-1ubuntu0.3 (fixed in 5.1.0-1ubuntu0.3) |
| Ubuntu:20.04:LTS | pillow | All versions before 7.0.0-4ubuntu0.1 (fixed in 7.0.0-4ubuntu0.1) |
| Ubuntu:Pro:20.04:LTS | pillow-python2 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2020-10378
- https://github.com/python-pillow/Pillow/pull/4538
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- https://ubuntu.com/security/notices/USN-4430-1
- https://ubuntu.com/security/notices/USN-4430-2
- https://www.cve.org/CVERecord?id=CVE-2020-10378