Vulnerabilities · 2016 · Python
CVE-2016-3076
Python Pillow vulnerability
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.
Affected products
Pillow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Pillow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1321929 · Third Party Advisory
- www.securityfocus.com/bid/98042
- nvd.nist.gov/vuln/detail/CVE-2016-3076
- github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml
- web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042
- github.com/advisories/GHSA-v9pc-9mvp-x87g
- nvd.nist.gov/vuln/detail/CVE-2016-3076
- cve.org/CVERecord?id=CVE-2016-3076
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.