Vulnerability Details : CVE-2016-4009
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.
Vulnerability category: Overflow
Products affected by CVE-2016-4009
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-4009
1.34%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-4009
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2016-4009
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-4009
-
http://www.securityfocus.com/bid/86064
Python Pillow CVE-2016-4009 Integer Overflow Vulnerability
-
https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
fix integer overflow in Resample.c · python-pillow/Pillow@4e0d9b0 · GitHubPatch
-
https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
Pillow/CHANGES.rst at c3cb690fed5d4bf0c45576759de55d054916c165 · python-pillow/Pillow · GitHubPatch;Vendor Advisory
-
https://security.gentoo.org/glsa/201612-52
Pillow: Multiple vulnerabilities (GLSA 201612-52) — Gentoo security
-
https://github.com/python-pillow/Pillow/pull/1714
Overflow in resample.c, with tests by wiredfool · Pull Request #1714 · python-pillow/Pillow · GitHubPatch
Jump to