CVE-2016-4009
highpriority · track · 42EPSS 0.079 · 95 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 9–10
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hvr8-466p-75rhPillow Integer overflow in ImagingResampleHorizontal2018-07-24ghsa · osvUS
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.
- PYSEC-2016-72016-04-13vendor · osvUS
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.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rstPatchcnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.1636/cnnvd
- http://www.securityfocus.com/bid/86064enisa_euvd
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rstenisa_euvd
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1eenisa_euvd
- https://github.com/python-pillow/Pillow/pull/1714enisa_euvd
- https://security.gentoo.org/glsa/201612-52enisa_euvd
- http://www.securityfocus.com/bid/86064nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan