VDB
Sign up
—

PYSEC-2016-7

Quick fix

PYSEC-2016-7 — pillow: upgrade to the fixed version with the command below.

pip install --upgrade 'pillow>=4e0d9b0b9740d258ade40cce248c93777362ac1e'

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: 0Fixed in: 4e0d9b0b9740d258ade40cce248c93777362ac1e
Fixpip install --upgrade 'pillow>=4e0d9b0b9740d258ade40cce248c93777362ac1e'

References