Back
CVE-2016-4009
Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have…
Critical9.8EPSS 7.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 7.9% · top 5.3% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpillowGHSA-hvr8-466p-75rh (opens in a new tab)
References (5)
- GLSA-201612-52 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://github.com/python-pillow/Pillow/pull/1714 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e (opens in a new tab)x_refsource_CONFIRMx_transferred
- 86064 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hvr8-466p-75rh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .