VulnerabilityModified
CVE-2021-25289
TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.
CRITICAL 9.8EPSS 2.34%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.34% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- python/pillow
- Source
- cve@mitre.org
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.htmlRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202107-33Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.htmlRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202107-33Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.