Live threats

All CVEs / Python

CVE-2016-0740Python Pillow

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
2.7%
probability of exploitation in 30 days · percentile 86
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:H/A:N

What happens

Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF 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-hggx-3h72-49ww, PYSEC-2016-5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow≤ 3.1.0
debiandebian_linux7.0
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.