Skip to content
Fencer Vulns
high 8.8

CVE-2017-9935 json

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c.

published 2017-06-26 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-18845

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

Summary

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.

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 4.0.9-2

debian advisories DEBIAN-CVE-2017-9935

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

ubuntu advisories UBUNTU-CVE-2017-9935

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

  • tiff SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.8.2-141.169.19.1
  • tiff SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 4.0.9-44.24.1
  • tiff SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 4.0.9-44.10.1
  • tiff SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.8.2-141.169.3.1

suse advisories SUSE-SU-2018:3391-1SUSE-SU-2018:3289-1SUSE-SU-2018:1180-1SUSE-SU-2018:1179-1

  • tiff openSUSE Tumbleweed 4.3.0-1.3

opensuse advisories openSUSE-SU-2024:11461-1

  • tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 4.0.9-r6
  • tiff Alpine 3.7, Alpine 3.6, Alpine 3.5 4.0.9-r5

alpine advisories ALPINE-CVE-2017-9935

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.10-1
  • lib32-libtiff Arch Linux 4.0.10-1

arch linux advisories AVG-790AVG-791

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-2017-9935 updated cvss 3.3

libtiff: Heap-based buffer overflow in t2p_write_pdf function

  • Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3
    affected: no fix planned “Will not fix”

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

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

Exploits and checks

  • bugzilla.maptools.org http://bugzilla.maptools.org/show_bug.cgi?id=2704 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/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

Classification

Weakness

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.