All reports
Critical

Pillow Integer overflow in ImagingResampleHorizontal

Affected versions

Version ranges need review.

Affected versions
<3.1.1
Fixed version
3.1.1
Affected versions
>= 0, < 3.1.1
Fixed version
3.1.1

Exploitation

CVE-2016-4009

Probability of exploitation in the next 30 days: 7.87%

FIRST EPSS · 2026-11-21

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.

Links