CVE-2016-4009
Aliases:GHSA-hvr8-466p-75rhPYSEC-2016-7
Advisory lineage Upstream: 0 Downstream: 4
Modified
Published: 13 Apr 2016, 16:00
Last modified:06 Aug 2024, 00:17
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
10 HIGH
v2.0 (nvd)
EPSS Score
5.26% LOW
5% probability +1.77%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
13 Apr 2016, 16:00
Published
Vulnerability first disclosed
06 Aug 2024, 00:17
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v4.0•CRITICAL•Score: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.0•CRITICAL•Score: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 10AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 5.26%• Percentile: 90%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- PyPI•pillow
< 4e0d9b0b9740d258ade40cce248c93777362ac1e | < 3.1.1
- python•pillow
≤ 3.1.0
References (9)
- https://security.gentoo.org/glsa/201612-52
- https://github.com/python-pillow/Pillow/pull/1714
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
- https://nvd.nist.gov/vuln/detail/CVE-2016-4009
- https://github.com/advisories/GHSA-hvr8-466p-75rh
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml
- https://github.com/python-pillow/Pillow