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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
pillow (PTS) | buster, buster (security) | 5.4.1-2+deb10u3 | fixed |
bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u1 | fixed | |
bookworm, sid | 9.4.0-1.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 | (unstable) | 3.1.1-1 | |||
python-imaging | source | squeeze | (not affected) | |||
python-imaging | source | wheezy | (not affected) | |||
python-imaging | source | (unstable) | (unfixed) |
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