Every CVE Search/ Get API key

CVE-2016-3076

Pillow Buffer overflow in Jpeg2KEncode.c

5.5 MediumFix available

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

2.58%Up 1.4 points since Feb 4, 2022
90%50%10%1%

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 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
pillow
PyPI
2.5.0 up to 3.1.2
3.1.2
pillow
Debian:12
before 3.2.0-1
3.2.0-1
pillow
Debian:13
before 3.2.0-1
3.2.0-1
pillow
Debian:14
before 3.2.0-1
3.2.0-1
pillow
PyPI
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 less
2.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-pillow
Mageia:5
before 2.6.2-2.5.mga5
2.6.2-2.5.mga5
python-Pillow
SUSE:OpenStack Cloud 7
before 2.8.1-4.3.2
2.8.1-4.3.2
python-Pillow
SUSE:Enterprise Storage 4
before 2.8.1-4.3.2
2.8.1-4.3.2
python-Pillow
SUSE:OpenStack Cloud 6
before 2.7.0-4.3.1
2.7.0-4.3.1
python-Pillow
SUSE:Enterprise Storage 5
before 2.8.1-3.3.1
2.8.1-3.3.1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
python-Pillow
openSUSE:Tumbleweed
before 3.4.2-1.1
3.4.2-1.1
python-Pillow
openSUSE:Tumbleweed
before 8.3.2-1.2
8.3.2-1.2
python-Pillow
openSUSE:Tumbleweed
before 10.3.0-1.1
10.3.0-1.1
python-Pillow
openSUSE:Tumbleweed
before 12.3.0-1.1
12.3.0-1.1

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE 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

Show 42 moreShow less
MoveEnter Open