Skip to content
OpenAdvisories
Medium · 5.5 CVE-2016-3076 EUVD-2017-0083GHSA-v9pc-9mvp-x87gPYSEC-2017-92

Pillow Buffer overflow in Jpeg2KEncode.c

Published Apr 24, 2017 · Updated Aug 5, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pillow 3.2.0-1 —
Debian 13 pillow 3.2.0-1 —
Debian 12 pillow 3.2.0-1 —
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 7 python-Pillow 2.8.1-4.3.2 SUSE-SU-2018:1174-1
SUSE OpenStack Cloud 6 python-Pillow 2.7.0-4.3.1 SUSE-SU-2018:1191-1
SUSE Enterprise Storage 5 python-Pillow 2.8.1-3.3.1 SUSE-SU-2019:1321-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Enterprise Storage 4 python-Pillow 2.8.1-4.3.2 SUSE-SU-2018:1174-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Pillow 3.4.2-1.1 openSUSE-SU-2026:11261-1, openSUSE-SU-2024:13827-1, openSUSE-SU-2024:11209-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pillow >= 2.5.0, < 3.1.2 3.1.2 GHSA-v9pc-9mvp-x87g

Advisories 7

References