NetSight
critical9.8

CVE-2021-25289

Out of bounds write in Pillow

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pippillow>= 0, < 8.1.18.1.1

Affected products

VendorProductAffected versions
PythonPillow
before 8.1.1

Weakness classification

References