CVE-2016-3076
published 2017-04-24CVE-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…
PriorityP425medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
2.56%
83.3th percentile
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
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pillow | < pillow 3.2.0-1 (bookworm) | pillow 3.2.0-1 (bookworm) |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | — | — |
| python | pillow | >= 0 < 3.2.0-1 | 3.2.0-1 |
| python | pillow | >= 0 < 3.2.0-1 | 3.2.0-1 |
| python | pillow | >= 0 < 3.2.0-1 | 3.2.0-1 |
| python | pillow | >= 0 < 3.2.0-1 | 3.2.0-1 |
| python | pillow | >= 2.5.0 < 3.1.2 | 3.1.2 |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Pillow Buffer overflow in Jpeg2KEncode.c
ghsa·2022-05-17
CVE-2016-3076 [HIGH] CWE-119 Pillow Buffer overflow in Jpeg2KEncode.c
Pillow Buffer overflow in Jpeg2KEncode.c
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.
OSV
Pillow Buffer overflow in Jpeg2KEncode.c
osv·2022-05-17
CVE-2016-3076 [HIGH] Pillow Buffer overflow in Jpeg2KEncode.c
Pillow Buffer overflow in Jpeg2KEncode.c
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.
OSV
CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2
osv·2017-04-24·CVSS 5.5
CVE-2016-3076 [MEDIUM] CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2
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.
Red Hat
python-pillow: buffer overflow in Jpeg2kEncode.c
vendor_redhat·2016-04-04·CVSS 5.5
CVE-2016-3076 [MEDIUM] CWE-190 python-pillow: buffer overflow in Jpeg2kEncode.c
python-pillow: buffer overflow in Jpeg2kEncode.c
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.
Package: python-imaging (Red Hat Enterprise Linux 5) - Not affected
Package: python-imaging (Red Hat Enterprise Linux 6) - Not affected
Package: python-pillow (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2016-3076: pillow - Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 thro...
vendor_debian·2016·CVSS 5.5
CVE-2016-3076 [MEDIUM] CVE-2016-3076: pillow - Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 thro...
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.
Scope: local
bookworm: resolved (fixed in 3.2.0-1)
bullseye: resolved (fixed in 3.2.0-1)
forky: resolved (fixed in 3.2.0-1)
sid: resolved (fixed in 3.2.0-1)
trixie: resolved (fixed in 3.2.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c [fedora-all]
bugzilla·2016-04-14·CVSS 5.5
CVE-2016-3076 [MEDIUM] CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c [fedora-all]
CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fe
Bugzilla
CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c
bugzilla·2016-03-29·CVSS 5.5
CVE-2016-3076 [MEDIUM] CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c
CVE-2016-3076 python-pillow: buffer overflow in Jpeg2kEncode.c
Pillow between 2.5.0 and 3.1.1 may overflow a buffer when reading
rewriting a specially crafted Jpeg2000 file.
This occurs specifically in the function *j2k_encode_entry*, at the line:
```
state->buffer = malloc (tile_width * tile_height * components * prec / 8);
```
If this buffer is smaller than expected, the jpeg2k encoding functions
will write outside the allocation and onto the heap, corrupting
memory.
Reproducer and proposed fix can be found in original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1321422
Discussion:
Acknowledgements:
Name: the Pillow project
Upstream: Alyssa Besseling
---
Created python-pillow tracking bugs for this issue:
Affects: fedora-all [bug 1327131]
---
This is public for s
http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.htmlhttp://www.securityfocus.com/bid/98042https://bugzilla.redhat.com/show_bug.cgi?id=1321929http://pillow.readthedocs.io/en/4.1.x/releasenotes/3.1.2.htmlhttp://www.securityfocus.com/bid/98042https://bugzilla.redhat.com/show_bug.cgi?id=1321929
2017-04-24
Published