CVEfocus › CVE database › CVE-2017-9935

CVE-2017-9935

CVSS 8.8 HighEPSS 3.9% (higher than 91% of CVEs)Published 2017-06-26Updated 2024-08-05Assigner: mitre

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.

What to do

Fixed builds are available from Alpine, Debian, 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

25Fixed
9Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04tiffFixed4.0.6-1ubuntu0.4UBUNTU-CVE-2017-9935
Ubuntu 14.04tiffFixed4.0.3-7ubuntu0.9UBUNTU-CVE-2017-9935
Debian 14tiffFixed4.0.9-2DEBIAN-CVE-2017-9935
Debian 13tiffFixed4.0.9-2DEBIAN-CVE-2017-9935
Debian 12tiffFixed4.0.9-2DEBIAN-CVE-2017-9935
Red Hat Enterprise Linux 7compat-libtiff3Will not fix
Will not fix
Red Hat Enterprise Linux 7libtiffWill not fix
Will not fix
Red Hat Enterprise Linux 7libtiff-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libtiff-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libtiff-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 6libtiffWill not fix
Will not fix
Red Hat Enterprise Linux 6libtiff-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libtiff-staticWill not fix
Will not fix
Red Hat Enterprise Linux 5libtiffWill not fix
Will not fix
Alpine Linux 3.24tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.23tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.22tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.21tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.20tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.19tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.18tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.17tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.16tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.15tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.14tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.13tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.12tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.11tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.10tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.9tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.8tiffFixed4.0.9-r6ALPINE-CVE-2017-9935
Alpine Linux 3.7tiffFixed4.0.9-r5ALPINE-CVE-2017-9935
Alpine Linux 3.6tiffFixed4.0.9-r5ALPINE-CVE-2017-9935
Alpine Linux 3.5tiffFixed4.0.9-r5ALPINE-CVE-2017-9935

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

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.