CVE-2016-3076
MEDIUM5.5EPSS 0.46%Pillow Buffer overflow in Jpeg2KEncode.c
Published: 5/17/2022Modified: 4/28/2026
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.
Affected packages (3)
- Debian/pillowfrom 0, < 3.2.0-1
- PyPI/pillow>= 2.5.0, < 3.1.2
- PyPI/pillow>= 2.5.0, < 3.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-3076
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-3076
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttp://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.html
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1321929
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2017-92.yaml
- WEBhttps://github.com/python-pillow/Pillow/blob/4.1.x/docs/releasenotes/3.1.2.rst
- WEBhttps://web.archive.org/web/20200227174644/http://www.securityfocus.com/bid/98042
- WEBhttp://www.securityfocus.com/bid/98042