Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.8 KB

6.2.2.5.rst

File metadata and controls

41 lines (28 loc) · 1.8 KB

6.2.2.5

Security

This release addresses several critical CVEs.

:cve:`CVE-2020-35654`: In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.

:cve:`CVE-2021-25289`: Catch TiffDecode heap-based buffer overflow. Add test files that show the CVE was fixed

:cve:`CVE-2022-22815`: Fixed ImagePath.Path array handling

:cve:`CVE-2021-28675`: Fix DOS in PsdImagePlugin

:cve:`CVE-2022-22816`: Fixed ImagePath.Path array handling

:cve:`CVE-2020-10994`: In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.

:cve:`CVE-2021-28676``: FliDecode did not properly check that the block advance was non-zero,
potentally leading to an infinite loop on load.
:cve:`CVE-2021-28677`: An issue was discovered in Pillow before 8.2.0. For EPS
data, the readline implementation used in EPSImageFile has to deal with any combination of r and n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
cve:CVE-2022-45199: Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.