9.8crit
CVE-2016-4009
Pillow Integer overflow in ImagingResampleHorizontal
Also known as GHSA-hvr8-466p-75rh, PYSEC-2016-7
Published 10 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
7.9%
percentile 95%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
7.87% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | pillow | <3.1.1 | 3.1.1 |
Classification
- Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- security.gentoo.org /glsa/201612-52 · vendor-advisory, x_refsource_GENTOO, x_transferred
- github.com /python-pillow/Pillow/pull/1714 · x_refsource_CONFIRM, x_transferred
- github.com /python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/86064 · vdb-entry, x_refsource_BID, x_transferred
- github.com /python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-4009 · advisory
- github.com /advisories/GHSA-hvr8-466p-75rh · advisory
- github.com /pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml · web
- github.com /python-pillow/Pillow · package
Sources
- CVE List: CVE-2016-4009
- GitHub Advisory: GHSA-hvr8-466p-75rh
- NVD: CVE-2016-4009
- OSV: PYSEC-2016-7
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.