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.
"https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2016-7.yaml"