CVE-2016-3076
Vulnerability Summary
Timeline
Description
Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 through 3.1.1 allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file.
CVSS Metrics
- v4.0•HIGH•Score: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/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:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 2.58%• Percentile: 85%
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
- debian•pillow
< 3.2.0-1 | < 3.2.0-1 | < 3.2.0-1 | < 3.2.0-1
- PyPI•pillow
≥ 2.5.0, < 3.1.2
- python•pillow
2.5.0 | 2.5.1 | 2.5.2 | 2.5.3 | 2.6.0 | 2.6.0:rc1 | 2.6.1 | 2.6.2 | 2.7.0 | 2.8.0 | 2.8.1 | 2.8.2 | 2.9.0 | 2.9.0:dev0 | 2.9.0:dev1 | 2.9.0:dev2 | 3.0.0 | 3.0.0:rc1 | 3.1.0
References (10)
- http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1321929
- http://www.securityfocus.com/bid/98042
- https://nvd.nist.gov/vuln/detail/CVE-2016-3076
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst
- https://web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042
- https://github.com/advisories/GHSA-v9pc-9mvp-x87g
- https://security-tracker.debian.org/tracker/CVE-2016-3076