First published: Wed Apr 13 2016(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/pillow | >=0<3.1.1 | 3.1.1 |
Pillow | <=3.1.0 |
https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-4009 is considered a critical vulnerability due to the potential for remote attackers to execute arbitrary code via a heap-based buffer overflow.
To fix CVE-2016-4009, upgrade the Pillow library to version 3.1.1 or later.
Pillow versions prior to 3.1.1, specifically up to and including 3.1.0, are affected by CVE-2016-4009.
Yes, CVE-2016-4009 can be exploited remotely through the use of negative values for new sizes in image processing.
CVE-2016-4009 specifically affects the ImagingResampleHorizontal function in the libImaging/Resample.c file.