CVE-2016-4009
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (7.87%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 7.87% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- python/pillow
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rstPatch, Vendor Advisory
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1ePatch
- https://github.com/python-pillow/Pillow/pull/1714Patch
- https://security.gentoo.org/glsa/201612-52
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rstPatch, Vendor Advisory
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1ePatch
- https://github.com/python-pillow/Pillow/pull/1714Patch
- https://security.gentoo.org/glsa/201612-52
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.