CVE-2016-9189
Pillow Integer overflow in Map.c
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.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
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.5
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
CVE-2016-9189- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
CVE-2016-9189- Updated
- 2026-11-02
EUVDEUVD-2016-0024 No score
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
EUVD-2016-0024- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rwr3-c2q8-gm56
6.9
Pillow Integer overflow in Map.c
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
GHSA-rwr3-c2q8-gm56- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
5.5
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
CVE-2016-9189- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9189
5.5
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
DEBIAN-CVE-2016-9189- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-rwr3-c2q8-gm56
6.9
Pillow Integer overflow in Map.c
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
GHSA-rwr3-c2q8-gm56- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-9189
5.5
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
UBUNTU-CVE-2016-9189- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - 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-8 No score
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
- Record
PYSEC-2016-8- 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
OSVSUSE-SU-2019:1772-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
Security issue fixed:
- CVE-2016-9189: Fixed a integer overflows leading to memory disclosure in PyImaging_MapBuffer() (bsc#1008845).
- Record
SUSE-SU-2019:1772-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:Enterprise Storage 5 |
before 2.8.1-3.3.1 | 2.8.1-3.3.1 |
python-PillowSUSE:OpenStack Cloud 7 |
before 2.8.1-4.6.1 | 2.8.1-4.6.1 |
python-PillowSUSE:Enterprise Storage 4 |
before 2.8.1-4.6.1 | 2.8.1-4.6.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-9189 is a medium vulnerability (CVSS 5.5) 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.94%, the 80th percentile. Fixed in pillow 3.3.2.
References
github.com/python-pillow/Pillow/pull/2146/commits/c50ebe6459a131a1ea8ca531f10da616d3ceaa0f
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
Show 21 moreShow less
nvd.nist.gov/vuln/detail/CVE-2016-9189
github.com/advisories/GHSA-rwr3-c2q8-gm56
github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-8.yaml
security-tracker.debian.org/tracker/CVE-2016-9189
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/2019/suse-su-20191321-1
bugzilla.suse.com/1008845
bugzilla.suse.com/1008846
bugzilla.suse.com/973786
suse.com/security/cve/CVE-2016-3076
suse.com/security/cve/CVE-2016-9189
suse.com/security/cve/CVE-2016-9190
suse.com/support/update/announcement/2019/suse-su-20191772-1
ubuntu.com/security/CVE-2016-9189
ubuntu.com/security/notices/USN-3230-1
ubuntu.com/security/notices/USN-3229-1
cve.org/CVERecord?id=CVE-2016-9189
ubuntu.com/security/CVE-2014-9601
ubuntu.com/security/CVE-2016-9190