What’s Vulnerable › Vulnerabilities

CVE-2021-25289: Out of bounds write in Pillow

Description

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 products

How to fix

Upgrade to a fixed version: python-pillow Pillow 8.1.1; Pypi Pillow 8.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-25289 or the next vulnerability affects your stack