Critical severity9.8NVD Advisory· Published Apr 13, 2016· Updated Jun 17, 2026
CVE-2016-4009
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pillowPyPI | < 3.1.1 | 3.1.1 |
Affected products
5- ghsa-coords4 versionspkg:pypi/pillowpkg:rpm/suse/python-Pillow&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/python-Pillow&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/python-Pillow&distro=SUSE%20OpenStack%20Cloud%207
< 3.1.1+ 3 more
- (no CPE)range: < 3.1.1
- (no CPE)range: < 2.8.1-4.9.1
- (no CPE)range: < 2.8.1-3.6.1
- (no CPE)range: < 2.8.1-4.9.1
Patches
Vulnerability mechanics
References
8- github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rstnvdPatchVendor AdvisoryWEB
- github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1envdPatchWEB
- github.com/python-pillow/Pillow/pull/1714nvdPatchWEB
- github.com/advisories/GHSA-hvr8-466p-75rhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-4009ghsaADVISORY
- www.securityfocus.com/bid/86064nvdWEB
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yamlghsaWEB
- security.gentoo.org/glsa/201612-52nvdWEB
News mentions
0No linked articles in our index yet.