CVE-2016-4009
Pillow Integer overflow in ImagingResampleHorizontal
Reported by mitre · Published April 13, 2016
pillow is fixed in 3.1.1 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pillow | PyPI | 3.1.1 |
| pillow | python | 3.1.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| python | pillow | |
| PyPI | Pillow | 0 |
Timeline
- Apr 13, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-4009
vulnetix vdb fixes CVE-2016-4009
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-4009/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201612-52 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 86064 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-4009 advisory
- https://github.com/advisories/GHSA-hvr8-466p-75rh advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml advisory
- https://github.com/python-pillow/Pillow url