CVE-2016-2533 Pillow buffer overflow in ImagingPcdDecode

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted PhotoCD file due to a buffer overflow in the Pillow and PIL libraries.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-2533?

CVE-2016-2533 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.

Weakness: CWE-119

Which versions are affected by CVE-2016-2533?

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

PackageAffectedFixed in
pillow PyPIAll versions3.1.1
pillow PyPIAll versions3.1.1
pillow PyPIAll versions3.1.1

Products include Debian Debian Linux, Python Pillow, Python Imaging Project Python Imaging.

How do I fix CVE-2016-2533?

Upgrade pillow to 3.1.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-2533 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-2533, GHSA-3c5c-7235-994j, PYSEC-2016-19, UBUNTU-CVE-2016-2533.

Is CVE-2016-2533 in your software?

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

Check your SBOMs for free