CVE-2016-9190
Arbitrary code using "crafted image file" approach affecting Pillow
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2016-9190- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-284
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-9190- Updated
- 2026-11-02
EUVDEUVD-2016-0025 No score
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.
- Record
EUVD-2016-0025- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w4vg-rf63-f3j3
8.7
Arbitrary code using "crafted image file" approach affecting Pillow
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.
- Record
GHSA-w4vg-rf63-f3j3- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-284
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2016-9190- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9190
7.8
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.
- Record
DEBIAN-CVE-2016-9190- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVGHSA-w4vg-rf63-f3j3
8.7
Arbitrary code using "crafted image file" approach affecting Pillow
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.
- Record
GHSA-w4vg-rf63-f3j3- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-284
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-9190
7.8
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.
- Record
UBUNTU-CVE-2016-9190- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0383 No score
Updated python-pillow packages fix security vulnerabilities
It was discovered that there were a number of memory overflow issues in python-pillow, a Python image manipulation library. (CVE-2016-9189 and CVE-2016-9190)
- Record
MGASA-2016-0383- Updated
- 2026-11-02
OSVPYSEC-2016-9 No score
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.
- Record
PYSEC-2016-9- Updated
- 2026-11-02
OSVSUSE-SU-2018:1174-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
-
CVE-2016-9190: Pillow 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. (bsc#1008846)
-
CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file. (bsc#973786)
- Record
SUSE-SU-2018:1174-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1191-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
-
CVE-2016-9190: Pillow 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. (bsc#1008846)
-
CVE-2016-3076: Heap-based buffer overflow in the j2k_encode_entry function allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file. (bsc#973786)
- Record
SUSE-SU-2018:1191-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1321-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
Security issues fixed:
- CVE-2016-9189: Fixed a integer overflows leading to memory disclosure in PyImaging_MapBuffer() (bsc#1008845).
- CVE-2016-9190: Fixed a code execution vulnerability using a crafted image file in ImagingNew() (bsc#1008846).
- CVE-2016-3076: Fixed a integer overflow in j2k_encode_entry() (bsc#973786)
- Record
SUSE-SU-2019:1321-1- Updated
- 2026-11-02
OSVUSN-3230-1 No score
pillow vulnerabilities
It was discovered that Pillow incorrectly handled certain compressed text chunks in PNG images. A remote attacker could possibly use this issue to cause Pillow to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9601)
Cris Neckar discovered that Pillow incorrectly handled certain malformed images. A remote attacker could use this issue to cause Pillow to crash, resulting in a denial of service, or possibly obtain sensitive information. (CVE-2016-9189)
Cris Neckar discovered that Pillow incorrectly handled certain malformed images. A remote attacker could use this issue to cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2016-9190)
- Record
USN-3230-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pillowPyPI |
before 3.3.2 | 3.3.2 |
pillowDebian:12 |
before 3.4.2-1 | 3.4.2-1 |
pillowDebian:13 |
before 3.4.2-1 | 3.4.2-1 |
pillowDebian:14 |
before 3.4.2-1 | 3.4.2-1 |
python-imagingDebian:7 |
before 1.1.7-4+deb7u3, plus listed versions 1.1.7-41.1.7-4+deb7u11.1.7-4+deb7u2 |
1.1.7-4+deb7u3 |
pillowDebian:8 |
before 2.6.1-2+deb8u3, plus listed versions 2.6.1-22.6.1-2+deb8u12.6.1-2+deb8u2 |
2.6.1-2+deb8u3 |
pillowPyPI |
before 3.3.2, plus listed versions 1.01.11.21.31.4 Show 41 moreShow less1.51.61.7.01.7.11.7.21.7.31.7.41.7.51.7.61.7.71.7.82.0.02.1.02.2.02.2.12.2.22.3.02.3.12.3.22.4.02.5.02.5.12.5.22.5.32.6.02.6.12.6.22.7.02.8.02.8.12.8.22.9.03.0.03.1.03.1.0.rc13.1.0rc13.1.13.1.23.2.03.3.03.3.1 |
3.3.2 |
python-pillowMageia:5 |
before 2.6.2-2.6.mga5 | 2.6.2-2.6.mga5 |
python-PillowSUSE:OpenStack Cloud 7 |
before 2.8.1-4.3.2 | 2.8.1-4.3.2 |
python-PillowSUSE:Enterprise Storage 4 |
before 2.8.1-4.3.2 | 2.8.1-4.3.2 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-PillowSUSE:OpenStack Cloud 6 |
before 2.7.0-4.3.1 | 2.7.0-4.3.1 |
python-PillowSUSE:Enterprise Storage 5 |
before 2.8.1-3.3.1 | 2.8.1-3.3.1 |
pillowUbuntu:14.04:LTS |
before 2.3.0-1ubuntu3.4, plus listed versions 2.2.1-1ubuntu22.2.1-2ubuntu12.2.1-3ubuntu22.2.1-3ubuntu32.2.1-3ubuntu4 Show 6 moreShow less2.2.1-3ubuntu62.3.0-1ubuntu12.3.0-1ubuntu22.3.0-1ubuntu32.3.0-1ubuntu3.22.3.0-1ubuntu3.3 |
2.3.0-1ubuntu3.4 |
pillowUbuntu:16.04:LTS |
before 3.1.2-0ubuntu1.1, plus listed versions 2.9.0-13.0.0-13.0.0-1build13.1.0-13.1.1-13.1.2-0ubuntu1 |
3.1.2-0ubuntu1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-9190 is a high vulnerability (CVSS 7.8) in Python Pillow, published November 4, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.90%, the 79th percentile. Fixed in pillow 3.3.2.
References
security.gentoo.org/glsa/201612-52
securityfocus.com/bid/94234
github.com/python-pillow/Pillow/issues/2105
debian.org/security/2016/dsa-3710
pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html
github.com/python-pillow/Pillow/pull/2146/commits/5d8a0be45aad78c5a22c8d099118ee26ef8144af
Show 22 moreShow less
nvd.nist.gov/vuln/detail/CVE-2016-9190
github.com/advisories/GHSA-w4vg-rf63-f3j3
github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml
security-tracker.debian.org/tracker/CVE-2016-9190
github.com/python-pillow/Pillow
advisories.mageia.org/MGASA-2016-0383.html
bugs.mageia.org/show_bug.cgi?id=19739
suse.com/support/update/announcement/2018/suse-su-20181174-1
bugzilla.suse.com/1008846
bugzilla.suse.com/973786
suse.com/security/cve/CVE-2016-3076
suse.com/security/cve/CVE-2016-9190
suse.com/support/update/announcement/2018/suse-su-20181191-1
suse.com/support/update/announcement/2019/suse-su-20191321-1
bugzilla.suse.com/1008845
suse.com/security/cve/CVE-2016-9189
ubuntu.com/security/CVE-2016-9190
ubuntu.com/security/notices/USN-3230-1
ubuntu.com/security/notices/USN-3229-1
cve.org/CVERecord?id=CVE-2016-9190
ubuntu.com/security/CVE-2014-9601
ubuntu.com/security/CVE-2016-9189