Live threats

All CVEs / Python

CVE-2016-2533Python Pillow

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
4.0%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Apr 13, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow < 3.1.1 3.1.1 pip install "pillow>=3.1.1"
PyPI pillow < 3.1.1 3.1.1 pip install "pillow>=3.1.1"

Per OSV / GitHub Advisories (GHSA-3c5c-7235-994j, PYSEC-2016-19). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow≤ 3.1.0
python_imaging_projectpython_imaging≤ 1.1.7
debiandebian_linux7.0
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.