What’s Vulnerable › Vulnerabilities
CVE-2016-4009
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 7.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-04-13 · updated 2026-06-17
- Weakness: CWE-119
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 products
- python-pillow Pillow: through 3.1.0
References
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
- https://github.com/python-pillow/Pillow/pull/1714
- https://security.gentoo.org/glsa/201612-52
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
- https://github.com/python-pillow/Pillow/pull/1714
- https://security.gentoo.org/glsa/201612-52
Get alerted when CVE-2016-4009 or the next vulnerability affects your stack