Skip to content
Fencer Intel
medium 6.5

CVE-2016-0740 json

Pillow Buffer overflow in ImagingLibTiffDecode

published 2016-04-13 10 y ago modified 2026-06-17 4 mo ago also GHSA-hggx-3h72-49ww , PYSEC-2016-5 , EUVD-2016-0021

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi pillow 3.1.1
  • pillow Debian 14, Debian 13, Debian 12 3.1.1-1

debian advisories DEBIAN-CVE-2016-0740

  • pillow Ubuntu 14.04 LTS 2.3.0-1ubuntu3.2

ubuntu advisories UBUNTU-CVE-2016-0740

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-Pillow Enterprise Storage 2 2.7.0-3.2
  • python-Pillow Enterprise Storage 1.0 2.7.0-7.1
  • python-Pillow OpenStack Cloud 6, Enterprise Storage 2.1 2.7.0-3.1
  • python-Pillow OpenStack Cloud 5 2.7.0-9.1

suse advisories SUSE-SU-2016:1569-1SUSE-SU-2016:1355-1SUSE-SU-2016:0935-1SUSE-SU-2016:0924-1

  • python-Pillow openSUSE Tumbleweed 12.3.0-1.1
  • python-Pillow openSUSE Tumbleweed 3.4.2-1.1
  • python-Pillow openSUSE Tumbleweed 3.1.1-4.1
  • python-Pillow openSUSE Tumbleweed 8.3.2-1.2
  • python-Pillow openSUSE Tumbleweed 10.3.0-1.1

opensuse advisories openSUSE-SU-2026:11261-1openSUSE-SU-2024:10511-1openSUSE-SU-2024:10567-1openSUSE-SU-2024:11209-1openSUSE-SU-2024:13827-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-0740 updated cvss 5.1

python-pillow: Integer overflow resulting in buffer overflow when reading invalid tiff file

  • Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 5 python-imaging Red Hat Enterprise Linux 6 python-imaging, python-imaging-tk, python-imaging-sane
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.66% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi pillow
<3.1.1
3.1.1

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.