—
PYSEC-2016-7
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / pillow
Introduced in:
0 Fixed in: 4e0d9b0b9740d258ade40cce248c93777362ac1e Fix
pip install --upgrade 'pillow>=4e0d9b0b9740d258ade40cce248c93777362ac1e' References
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e [FIX]
- https://github.com/python-pillow/Pillow/pull/1714 [WEB]
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst [WEB]
- http://www.securityfocus.com/bid/86064 [WEB]
- https://security.gentoo.org/glsa/201612-52 [ADVISORY]
- https://github.com/advisories/GHSA-hvr8-466p-75rh [ADVISORY]