Buffer overflow in Python Pillow

CVE-2016-3076

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.

Vulnerability class: Buffer Overflow

EPSS: 0.005 (64.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

  • Python Pillow — versions 2.5.0, 2.5.1, 2.5.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-3076?
CVE-2016-3076 is a medium-severity vulnerability in Python Pillow, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.5/10. Published 2017-04-24.
How severe is CVE-2016-3076?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2016-3076 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.