CVE-2016-3076
Pillow 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2016-3076- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-3076- Updated
- 2026-11-02
EUVDEUVD-2017-0083 No score
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.
- Record
EUVD-2017-0083- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v9pc-9mvp-x87g
7.1
Pillow 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.
- Record
GHSA-v9pc-9mvp-x87g- CVSS 4.0
- 7.1 High
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 - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2016-3076- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-3076
5.5
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.
- Record
DEBIAN-CVE-2016-3076- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSVGHSA-v9pc-9mvp-x87g
7.1
Pillow 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.
- Record
GHSA-v9pc-9mvp-x87g- CVSS 4.0
- 7.1 High
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 - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-3076
5.5
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.
- Record
UBUNTU-CVE-2016-3076- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0141 No score
Updated python-pillow packages fix CVE-2016-3076
This update fixes an integer overflow in Jpeg2KEncode.c causing a buffer overflow (CVE-2016-3076).
- Record
MGASA-2016-0141- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10511-1 No score
python3-Pillow-3.4.2-1.1 on GA media
These are all security issues fixed in the python3-Pillow-3.4.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10511-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11209-1 No score
python36-Pillow-8.3.2-1.2 on GA media
These are all security issues fixed in the python36-Pillow-8.3.2-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11209-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13827-1 No score
python310-Pillow-10.3.0-1.1 on GA media
These are all security issues fixed in the python310-Pillow-10.3.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13827-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11261-1 No score
python313-Pillow-12.3.0-1.1 on GA media
These are all security issues fixed in the python313-Pillow-12.3.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11261-1- Updated
- 2026-11-02
OSVPYSEC-2017-92 No score
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.
- Record
PYSEC-2017-92- Updated
- 2026-11-02
OSVSUSE-SU-2018:1174-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
-
CVE-2016-9190: Pillow allows context-dependent attackers to execute arbitrary code by using the 'crafted image file' approach, related to an 'Insecure Sign Extension' issue affecting the ImagingNew in Storage.c component. (bsc#1008846)
-
CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file. (bsc#973786)
- Record
SUSE-SU-2018:1174-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1191-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
-
CVE-2016-9190: Pillow allows context-dependent attackers to execute arbitrary code by using the 'crafted image file' approach, related to an 'Insecure Sign Extension' issue affecting the ImagingNew in Storage.c component. (bsc#1008846)
-
CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file. (bsc#973786)
- Record
SUSE-SU-2018:1191-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1321-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
Security issues fixed:
- CVE-2016-9189: Fixed a integer overflows leading to memory disclosure in PyImaging_MapBuffer() (bsc#1008845).
- CVE-2016-9190: Fixed a code execution vulnerability using a crafted image file in ImagingNew() (bsc#1008846).
- CVE-2016-3076: Fixed a integer overflow in j2k_encode_entry() (bsc#973786)
- Record
SUSE-SU-2019:1321-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pillowPyPI |
2.5.0 up to 3.1.2 | 3.1.2 |
pillowDebian:12 |
before 3.2.0-1 | 3.2.0-1 |
pillowDebian:13 |
before 3.2.0-1 | 3.2.0-1 |
pillowDebian:14 |
before 3.2.0-1 | 3.2.0-1 |
pillowPyPI |
2.5.0 up to 3.1.2, plus listed versions 2.5.12.5.22.5.32.6.02.6.1 Show 11 moreShow less2.6.22.7.02.8.02.8.12.8.22.9.03.0.03.1.03.1.0.rc13.1.0rc13.1.1 |
3.1.2 |
python-pillowMageia:5 |
before 2.6.2-2.5.mga5 | 2.6.2-2.5.mga5 |
python-PillowSUSE:OpenStack Cloud 7 |
before 2.8.1-4.3.2 | 2.8.1-4.3.2 |
python-PillowSUSE:Enterprise Storage 4 |
before 2.8.1-4.3.2 | 2.8.1-4.3.2 |
python-PillowSUSE:OpenStack Cloud 6 |
before 2.7.0-4.3.1 | 2.7.0-4.3.1 |
python-PillowSUSE:Enterprise Storage 5 |
before 2.8.1-3.3.1 | 2.8.1-3.3.1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-PillowopenSUSE:Tumbleweed |
before 3.4.2-1.1 | 3.4.2-1.1 |
python-PillowopenSUSE:Tumbleweed |
before 8.3.2-1.2 | 8.3.2-1.2 |
python-PillowopenSUSE:Tumbleweed |
before 10.3.0-1.1 | 10.3.0-1.1 |
python-PillowopenSUSE:Tumbleweed |
before 12.3.0-1.1 | 12.3.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-3076 is a medium vulnerability (CVSS 5.5) in Python Pillow, published April 13, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.58%, the 85th percentile. Fixed in pillow 3.1.2.
References
pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html
bugzilla.redhat.com/show_bug.cgi?id=1321929
securityfocus.com/bid/98042
nvd.nist.gov/vuln/detail/CVE-2016-3076
github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst
github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml
Show 42 moreShow less
web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042
github.com/advisories/GHSA-v9pc-9mvp-x87g
security-tracker.debian.org/tracker/CVE-2016-3076
github.com/python-pillow/Pillow
advisories.mageia.org/MGASA-2016-0141.html
bugs.mageia.org/show_bug.cgi?id=18186
lists.fedoraproject.org/pipermail/package-announce/2016-April/181943.html
suse.com/support/update/announcement/2018/suse-su-20181174-1
bugzilla.suse.com/1008846
bugzilla.suse.com/973786
suse.com/security/cve/CVE-2016-3076
suse.com/security/cve/CVE-2016-9190
suse.com/support/update/announcement/2018/suse-su-20181191-1
suse.com/support/update/announcement/2019/suse-su-20191321-1
bugzilla.suse.com/1008845
suse.com/security/cve/CVE-2016-9189
ubuntu.com/security/CVE-2016-3076
github.com/python-pillow/Pillow/commit/a1f244343df389cf15cdfff80327594821097295
cve.org/CVERecord?id=CVE-2016-3076
suse.com/security/cve/CVE-2014-3589
suse.com/security/cve/CVE-2014-3598
suse.com/security/cve/CVE-2016-0740
suse.com/security/cve/CVE-2016-0775
suse.com/security/cve/CVE-2020-15999
suse.com/security/cve/CVE-2020-35653
suse.com/security/cve/CVE-2020-35654
suse.com/security/cve/CVE-2020-35655
suse.com/security/cve/CVE-2021-23437
suse.com/security/cve/CVE-2021-25289
suse.com/security/cve/CVE-2021-25290
suse.com/security/cve/CVE-2021-25291
suse.com/security/cve/CVE-2021-25292
suse.com/security/cve/CVE-2021-25293
suse.com/security/cve/CVE-2021-27921
suse.com/security/cve/CVE-2021-34552
suse.com/security/cve/CVE-2024-28219
suse.com/security/cve/CVE-2023-44271
suse.com/security/cve/CVE-2023-50447
suse.com/security/cve/CVE-2026-42311
suse.com/security/cve/CVE-2026-4775
suse.com/security/cve/CVE-2026-54059
suse.com/security/cve/CVE-2026-55379