CVE-2021-25289: python-pillow: insufficent fix for CVE-2020-35654 due to incorrect error checking in TiffDecode.c

Severity: Critical

CVSS Score: 9.8

An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.