CVE-2020-35654

NameCVE-2020-35654
DescriptionIn Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)stretch4.0.0-4+deb9u1fixed
stretch (security)4.0.0-4+deb9u3fixed
buster5.4.1-2+deb10u2fixed
buster (security)5.4.1-2+deb10u1fixed
bookworm, bullseye8.1.2+dfsg-0.3fixed
sid8.3.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourcestretch(not affected)
pillowsourcebuster(not affected)
pillowsource(unstable)8.1.0-1

Notes

[buster] - pillow <not-affected> (Vulnerable code not present)
[stretch] - pillow <not-affected> (Vulnerable code introduced later)
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.0.html#security
https://github.com/python-pillow/Pillow/pull/5175
https://github.com/python-pillow/Pillow/commit/eb8c1206d6b170d4e798a00db7432e023853da5c
Introduced in: https://github.com/python-pillow/Pillow/commit/e91b851fdc1c914419543f485bdbaa010790719f (6.0.0)

Search for package or bug name: Reporting problems