CVE-2016-9189
Vulnerability Summary
Timeline
Description
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- v3.0•MEDIUM•Score: 5.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 1.88%• Percentile: 78%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- debian•pillow
< 3.4.2-1 | < 3.4.2-1 | < 3.4.2-1 | < 3.4.2-1
- debian•debian_linux
8.0
- PyPI•pillow
< 3.3.2
- python•pillow
≤ 3.3.1
References (11)
- https://github.com/python-pillow/Pillow/pull/2146/commits/c50ebe6459a131a1ea8ca531f10da616d3ceaa0f
- https://security.gentoo.org/glsa/201612-52
- http://www.securityfocus.com/bid/94234
- https://github.com/python-pillow/Pillow/issues/2105
- http://www.debian.org/security/2016/dsa-3710
- http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-9189
- https://github.com/advisories/GHSA-rwr3-c2q8-gm56
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-8.yaml
- https://github.com/python-pillow/Pillow
- https://security-tracker.debian.org/tracker/CVE-2016-9189