Name | CVE-2021-25289 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pillow (PTS) | jessie, jessie (lts) | 2.6.1-2+deb8u10 | fixed |
| stretch (security) | 4.0.0-4+deb9u4 | fixed |
| stretch (lts), stretch | 4.0.0-4+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 5.4.1-2+deb10u6 | fixed |
| bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u2 | fixed |
| bookworm (security), bookworm | 9.4.0-1.1+deb12u1 | fixed |
| sid, trixie | 10.4.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pillow | source | jessie | (not affected) | | | |
pillow | source | stretch | (not affected) | | | |
pillow | source | buster | (not affected) | | | |
pillow | source | (unstable) | 8.1.1-1 | | | |
Notes
[buster] - pillow <not-affected> (Vulnerable code not present)
[stretch] - pillow <not-affected> (Vulnerable code not present)
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
[jessie] - pillow <not-affected> (Vulnerable code not present)