Skip to content
OpenAdvisories
High · 7.8 CVE-2016-9190 EUVD-2016-0025GHSA-w4vg-rf63-f3j3PYSEC-2016-9

Arbitrary code using "crafted image file" approach affecting Pillow

Published Nov 4, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.

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.4.2-1 —
Debian 13 pillow 3.4.2-1 —
Debian 12 pillow 3.4.2-1 —
Debian 8 pillow 2.6.1-2+deb8u3 DSA-3710-1
Debian 7 python-imaging 1.1.7-4+deb7u3 DLA-705-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS pillow 3.1.2-0ubuntu1.1 USN-3230-1
Ubuntu 14.04 LTS pillow 2.3.0-1ubuntu3.4 USN-3230-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

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 python-pillow +4 2.0.0-23.gitd1c6db8.amzn2.0.4 ALAS2-2023-2083

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pillow < 3.3.2 3.3.2 GHSA-w4vg-rf63-f3j3

Advisories 7

References