python-pillow/pillow · Security
Pillow Integer overflow in ImagingResampleHorizontal
- GHSA ID
- GHSA-hvr8-466p-75rh
- CVE ID
- CVE-2016-4009
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
CWEs
- CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4009 ↗
- https://github.com/python-pillow/Pillow/pull/1714 ↗
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e ↗
- https://github.com/advisories/GHSA-hvr8-466p-75rh ↗
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst ↗
- https://security.gentoo.org/glsa/201612-52 ↗
- http://www.securityfocus.com/bid/86064 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml ↗