Critical severity9.8NVD Advisory· Published Apr 13, 2016· Updated May 6, 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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pillowPyPI | < 3.1.1 | 3.1.1 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.