Skip to content
Fencer Vulns
high 7.0

CVE-2016-5652 json

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool.

published 2017-01-06 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6596

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

Summary

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 4.0.6-3

debian advisories DEBIAN-CVE-2016-5652

  • tiff Ubuntu 14.04 LTS 4.0.3-7ubuntu0.6
  • tiff Ubuntu 16.04 LTS 4.0.6-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-5652

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

  • libtiff RHEL 6 3.9.4-21.el6_8
  • libtiff RHEL 7 4.0.3-27.el7_3
  • libtiff-tools RHEL 7 4.0.3-27.el7_3

red hat advisories RHSA-2017:0225

  • tiff SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.8.2-141.169.3.1
  • tiff SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 4.0.7-35.1

suse advisories SUSE-SU-2018:1179-1SUSE-SU-2016:3301-1

  • tiff openSUSE Tumbleweed 4.0.7-1.1

opensuse advisories openSUSE-SU-2024:10554-1

  • tiff Alpine 3.4, Alpine 3.3, Alpine 3.2 4.0.7-r0

alpine advisories ALPINE-CVE-2016-5652

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtiff Arch Linux 4.0.7-1
  • lib32-libtiff Arch Linux 4.0.7-1

arch linux advisories AVG-85AVG-86

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-5652 updated cvss 8.1

libtiff: tiff2pdf JPEG Compression Tables Heap Buffer Overflow

  • Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 7 compat-libtiff3
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Client Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux ComputeNode (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff-devel 3.9.4-21.el6_8, libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8
    +10 more products
    Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff-devel 3.9.4-21.el6_8, libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Server (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Server Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Workstation (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Workstation Optional (v. 7) libtiff-tools 4.0.3-27.el7_3
    fixed: vendor fix RHSA-2017:0225

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

4.14% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • talosintelligence.com http://www.talosintelligence.com/reports/TALOS-2016-0187/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

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

Affected products

  • LibTiff LibTiff

Classification

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

References

Sources

Fencer Vulns 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.