Skip to content
Fencer Vulns
medium 5.5

CVE-2016-3076 json

Pillow Buffer overflow in Jpeg2KEncode.c

published 2017-04-24 9 y ago modified 2026-06-17 4 mo ago also GHSA-v9pc-9mvp-x87g , PYSEC-2017-92 , EUVD-2017-0083

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi pillow 3.1.2
  • pillow Debian 14, Debian 13, Debian 12 3.2.0-1

debian advisories DEBIAN-CVE-2016-3076

  • python-Pillow Enterprise Storage 5 2.8.1-3.3.1
  • python-Pillow OpenStack Cloud 6 2.7.0-4.3.1
  • python-Pillow OpenStack Cloud 7, Enterprise Storage 4 2.8.1-4.3.2

suse advisories SUSE-SU-2019:1321-1SUSE-SU-2018:1191-1SUSE-SU-2018:1174-1

  • python-Pillow openSUSE Tumbleweed 12.3.0-1.1
  • python-Pillow openSUSE Tumbleweed 3.4.2-1.1
  • python-Pillow openSUSE Tumbleweed 8.3.2-1.2
  • python-Pillow openSUSE Tumbleweed 10.3.0-1.1

opensuse advisories openSUSE-SU-2026:11261-1openSUSE-SU-2024:10511-1openSUSE-SU-2024:11209-1openSUSE-SU-2024:13827-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-3076 updated cvss 5.1

python-pillow: buffer overflow in Jpeg2kEncode.c

  • Red Hat Enterprise Linux 5 python-imaging Red Hat Enterprise Linux 6 python-imaging, python-imaging-tk, python-imaging-sane Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.59% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P
GitHub 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi pillow
>=2.5.0, <3.1.2
3.1.2

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.