Vulnerability record · CVE-2021-25289 · published 19 March 2021
CVE-2021-25289: Python pillow out-of-bounds write vulnerability
Python · Pillow
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.
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/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html | Release NotesVendor Advisory |
| https://security.gentoo.org/glsa/202107-33 | Third Party Advisory |
| https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html | Release NotesVendor Advisory |
| https://security.gentoo.org/glsa/202107-33 | Third Party Advisory |
Track CVE-2021-25289 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-25289), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.