GitHub Advisory Database
GHSA-v9pc-9mvp-x87g
Pillow Buffer overflow in Jpeg2KEncode.c
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | From 2.5.0 before 3.1.2 (fixed in 3.1.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3076
- https://bugzilla.redhat.com/show_bug.cgi?id=1321929
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst
- https://web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042
- http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html