CVE-2020-5311

NameCVE-2020-5311
DescriptionlibImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs948224

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)jessie, jessie (lts)2.6.1-2+deb8u10fixed
stretch (security)4.0.0-4+deb9u4fixed
stretch (lts), stretch4.0.0-4+deb9u6fixed
buster (security), buster, buster (lts)5.4.1-2+deb10u6fixed
bullseye (security), bullseye8.1.2+dfsg-0.3+deb11u2fixed
bookworm (security), bookworm9.4.0-1.1+deb12u1fixed
sid, trixie10.4.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourcejessie(not affected)
pillowsourcestretch(not affected)
pillowsourcebuster5.4.1-2+deb10u1
pillowsource(unstable)7.0.0-1948224

Notes

[stretch] - pillow <not-affected> (Vulnerable code not present)
[jessie] - pillow <not-affected> (The vulnerable code was introduced later)
https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3 (6.2.2)

Search for package or bug name: Reporting problems