8.1.0 (2021-01-02)
Security
This release includes security fixes.
An out-of-bounds read when saving TIFFs with custom metadata through LibTIFF
An out-of-bounds read when saving a GIF of 1px width
CVE 2020-35653: Buffer read overrun in PCX decoding
The PCX image decoder used the reported image stride to calculate the row buffer, rather than calculating it from the image size. This issue dates back to the PIL fork. Thanks to Google’s OSS-Fuzz project for finding this.
CVE 2020-35654: TIFF out-of-bounds write error
Out-of-bounds write in TiffDecode.c when reading corrupt YCbCr
files in some LibTIFF versions (4.1.0/Ubuntu 20.04, but not 4.0.9/Ubuntu 18.04).
In some cases LibTIFF’s interpretation of the file is different when reading in RGBA mode,
leading to an out-of-bounds write in . This potentially affects Pillow
versions from 6.0.0 to 8.0.1, depending on the version of LibTIFF. This was reported through
.