CVE-2016-3076
MEDIUM 5.5CVSS 3.0Pillow Buffer overflow in Jpeg2KEncode.c
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.
- Published
- 24 Apr 2017
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-v9pc-9mvp-x87gPYSEC-2017-92
- Sources
- NVDJSONOSV GHSA-v9pc-9mvp-x87gJSONOSV PYSEC-2017-92JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:2.5.0:*:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.5.1:*:*:*:*:*:*:* |
= 2.5.1 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.5.2:*:*:*:*:*:*:* |
= 2.5.2 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.5.3:*:*:*:*:*:*:* |
= 2.5.3 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.6.0:*:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.6.0:rc1:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.7.0:*:*:*:*:*:*:* |
= 2.7.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.8.0:*:*:*:*:*:*:* |
= 2.8.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.8.1:*:*:*:*:*:*:* |
= 2.8.1 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.8.2:*:*:*:*:*:*:* |
= 2.8.2 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.9.0:*:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.9.0:dev0:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.9.0:dev1:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:2.9.0:dev2:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:3.0.0:*:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:3.0.0:rc1:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | python | pillowcpe:2.3:a:python:pillow:3.1.0:*:*:*:*:*:*:* |
= 3.1.0 | |
| OSV | PyPI | pillow | >= 2.5.0, < 3.1.2 | 3.1.2 |
References
- http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html · Release Notes, Vendor Advisory, WEB
- http://www.securityfocus.com/bid/98042 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1321929 · Issue Tracking, Third Party Advisory, VDB Entry, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2016-3076 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml · WEB
- https://github.com/python-pillow/Pillow · PACKAGE
- https://github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst · WEB
- https://web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042 · WEB
- https://github.com/advisories/GHSA-v9pc-9mvp-x87g · ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 24 Apr 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Apr 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)