Name | CVE-2016-4009 |
Description | Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow. |
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+deb8u9 | fixed |
| stretch (security) | 4.0.0-4+deb9u4 | fixed |
| stretch (lts), stretch | 4.0.0-4+deb9u5 | fixed |
| buster | 5.4.1-2+deb10u3 | fixed |
| buster (security) | 5.4.1-2+deb10u6 | fixed |
| bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u1 | fixed |
| bookworm | 9.4.0-1.1 | fixed |
| sid, trixie | 10.3.0-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
Upstream confirmed that versions prior 2.7 are not vulnerable.
https://github.com/python-pillow/Pillow/pull/1714
https://github.com/python-pillow/Pillow/issues/1737