CVE-2016-5652
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.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | tiff | Fixed | 4.0.6-1ubuntu0.1 | UBUNTU-CVE-2016-5652 |
| Ubuntu 14.04 | tiff | Fixed | 4.0.3-7ubuntu0.6 | UBUNTU-CVE-2016-5652 |
| Debian 14 | tiff | Fixed | 4.0.6-3 | DEBIAN-CVE-2016-5652 |
| Debian 13 | tiff | Fixed | 4.0.6-3 | DEBIAN-CVE-2016-5652 |
| Debian 12 | tiff | Fixed | 4.0.6-3 | DEBIAN-CVE-2016-5652 |
| Red Hat Enterprise Linux 7 | compat-libtiff3 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtiff | Fixed | 0:4.0.3-27.el7_3 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 7 | libtiff-devel | Fixed | 0:4.0.3-27.el7_3 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 7 | libtiff-static | Fixed | 0:4.0.3-27.el7_3 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 7 | libtiff-tools | Fixed | 0:4.0.3-27.el7_3 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 6 | libtiff | Fixed | 0:3.9.4-21.el6_8 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 6 | libtiff-devel | Fixed | 0:3.9.4-21.el6_8 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 6 | libtiff-static | Fixed | 0:3.9.4-21.el6_8 | RHSA-2017:0225 |
| Red Hat Enterprise Linux 5 | libtiff | Will not fix Will not fix | ||
| Alpine Linux 3.4 | tiff | Fixed | 4.0.7-r0 | ALPINE-CVE-2016-5652 |
| Alpine Linux 3.3 | tiff | Fixed | 4.0.7-r0 | ALPINE-CVE-2016-5652 |
| Alpine Linux 3.2 | tiff | Fixed | 4.0.7-r0 | ALPINE-CVE-2016-5652 |
What the vendor says
As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- LibTiff: affected: 4.0.6
Vendor advisories:
- https://security.gentoo.org/glsa/201701-16 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2017-0225.html (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3762 (vendor-advisory)
References
- https://security.gentoo.org/glsa/201701-16
- http://rhn.redhat.com/errata/RHSA-2017-0225.html
- http://www.debian.org/security/2017/dsa-3762
- http://www.talosintelligence.com/reports/TALOS-2016-0187/
- http://www.securityfocus.com/bid/93902
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.