PT-2021-6916
CVE-2021-25289
·
Published
2021-03-03
·
Updated
2026-10-31
Description by
CVSS 2.0
10
CriticalMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Pillow versions prior to 8.1.1
Description
The issue is caused by a heap-based buffer overflow in the Pillow library when decoding crafted YCbCr files, potentially allowing a remote attacker to impact the confidentiality and integrity of protected information. This occurs due to certain interpretation conflicts with LibTIFF in RGBA mode.
Recommendations
For Pillow versions prior to 8.1.1, update to version 8.1.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the TiffDecode function when decoding YCbCr files in RGBA mode until a patch is available. Restrict access to sensitive image files to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾