CVE-2016-9189 Pillow Integer overflow in Map.c

Medium 5.5 Published Updated

Attackers can obtain sensitive information via crafted image files due to an integer overflow in the Pillow library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-9189?

CVE-2016-9189 is a medium-severity vulnerability in Debian Debian Linux, published on 4 Nov 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2016-9189?

3 open source packages ship an affected version, including pillow. It affects 2 products.

PackageAffectedFixed in
pillow PyPIAll versions3.3.2
pillow PyPIAll versions3.3.2
pillow PyPIAll versions3.3.2
Linux distribution packages (2)
python-Pillow SUSE:Enterprise Storage 4All versions2.8.1-4.6.1
python-Pillow SUSE:OpenStack Cloud 7All versions2.8.1-4.6.1

Products include Debian Debian Linux, Python Pillow.

How do I fix CVE-2016-9189?

Upgrade pillow to 3.3.2 or later.

Is CVE-2016-9189 being exploited?

There is no known exploitation of CVE-2016-9189 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-9189, GHSA-rwr3-c2q8-gm56, PYSEC-2016-8, SUSE-SU-2019:1772-1, UBUNTU-CVE-2016-9189.

Is CVE-2016-9189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free