CVE-2016-3076
CVE-2016-3076 is a medium-severity vulnerability in Python Pillow with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 3% (84th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Python Pillow
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2016-3076?
- CVE-2016-3076 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2016-3076 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2016-3076?
- CVE-2016-3076 primarily affects Python Pillow. In total, 19 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2016-3076?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2016-3076 published?
- CVE-2016-3076 was published on 2017-04-24 and last updated on 2026-06-17.
References
- http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html
- http://www.securityfocus.com/bid/98042
- https://bugzilla.redhat.com/show_bug.cgi?id=1321929
Affected products (19)
- cpe:2.3:a:python:pillow:2.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.6.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.7.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.8.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.9.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.9.0:dev0:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.9.0:dev1:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:2.9.0:dev2:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:3.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:3.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:pillow:3.1.0:*:*:*:*:*:*:*
More vulnerabilities in Python Pillow
- CVE-2014-3007 — Critical (CVSS 10.0): Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands…
- CVE-2022-30595 — Critical (CVSS 9.8): libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
- CVE-2022-22817 — Critical (CVSS 9.8): PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python…
- CVE-2021-34552 — Critical (CVSS 9.8): Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters…
- CVE-2021-25289 — Critical (CVSS 9.8): An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr…
- CVE-2020-5312 — Critical (CVSS 9.8): libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
All CVEs affecting Python Pillow →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-77946 — Critical (CVSS 10.0): A vulnerability was determined in TRENDnet TEW-821DAP 2.2.01b05. Affected by this vulnerability is the function…
- CVE-2026-76008 — Critical (CVSS 10.0): A flaw has been found in Comfast CF-N1-S 2.6.0.1. This affects the function get_para_from_uri of the file…
- CVE-2026-75784 — Critical (CVSS 10.0): A vulnerability was detected in TRENDnet TEW-WLC100 1v2.07b01. Affected by this issue is the function FUN_0040da4c of…
- CVE-2026-74843 — Critical (CVSS 10.0): A vulnerability was determined in Wavlink WN531P3 and WN535M1 V250922. Affected by this vulnerability is the function…
- CVE-2026-16367 — Critical (CVSS 10.0): Sandbox escape due to invalid pointer in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…