5.5med

CVE-2016-3076

Pillow Buffer overflow in Jpeg2KEncode.c

Also known as GHSA-v9pc-9mvp-x87g, PYSEC-2017-92

Published 9 y ago · modified 4 mo ago · JSON

CVSS
5.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.6%
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.

Exploit prediction (EPSS)

2.58% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.05.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:N/A:P
GitHub3.05.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypipillow
>=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

  • pillow.readthedocs.io /en/4.1.x/releasenotes/3.1.2.html · x_refsource_CONFIRM, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1321929 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/98042 · vdb-entry, x_refsource_BID, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-3076 · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml · web
  • github.com /python-pillow/Pillow · package
  • github.com /python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst · web
  • web.archive.org /web/20200227174644/http://www.securityfocus.com/bid/98042 · web
  • github.com /advisories/GHSA-v9pc-9mvp-x87g · advisory

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.