Every CVE Search/ Get API key

CVE-2017-9935

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

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.92%Up 2.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-9935
Updated
2026-11-02
EUVDEUVD-2017-18845 No score

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.

Record
EUVD-2017-18845
Updated
2026-11-03
GitHub AdvisoriesGHSA-ccm9-9gxr-9m3p 8.8

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

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.

Record
GHSA-ccm9-9gxr-9m3p
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVALPINE-CVE-2017-9935 8.8

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.

Record
ALPINE-CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-9935 8.8

CVE-2017-9935 does not affect BellSoft software

Record
BELL-CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSV 8.8

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.

Record
CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-9935 8.8

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.

Record
DEBIAN-CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-9935 8.8

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.

Record
UBUNTU-CVE-2017-9935
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0109 No score

Updated libtiff packages fix security vulnerability

tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (TIFFSetupStrips heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted TIFF file. (CVE-2017-17095)

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. (CVE-2017-9935)

In LibTIFF 4.0.9, there is a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory function, as demonstrated by a tiffinfo crash. (CVE-2017-18013)

Record
MGASA-2018-0109
Updated
2026-11-02
OSVopenSUSE-SU-2024:11461-1 No score

libtiff-devel-32bit-4.3.0-1.3 on GA media

These are all security issues fixed in the libtiff-devel-32bit-4.3.0-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11461-1
Updated
2026-11-02
OSVSUSE-SU-2018:1179-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2016-9453: The t2p_readwrite_pdf_image_tile function allowed remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a JPEG file with a TIFFTAG_JPEGTABLES of length one (bsc#1011107).
  • CVE-2016-5652: An exploitable heap-based buffer overflow existed in the handling of TIFF images in the 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 (bsc#1007280).
  • CVE-2017-11335: There is a heap based buffer overflow in tools/tiff2pdf.c via a PlanarConfig=Contig image, which caused a more than one hundred bytes out-of-bounds write (related to the ZIPDecode function in tif_zip.c). A crafted input may lead to a remote denial of service attack or an arbitrary code execution attack (bsc#1048937).
  • CVE-2016-9536: tools/tiff2pdf.c had an out-of-bounds write vulnerabilities in heap allocated buffers in t2p_process_jpeg_strip(). Reported as MSVR 35098, aka 't2p_process_jpeg_strip heap-buffer-overflow.' (bsc#1011845)
  • CVE-2017-9935: In LibTIFF, there was 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 (bsc#1046077).
  • CVE-2017-17973: There is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. (bsc#1074318)
  • CVE-2015-7554: The _TIFFVGetField function in tif_dir.c allowed attackers to cause a denial of service (invalid memory write and crash) or possibly have unspecified other impact via crafted field data in an extension tag in a TIFF image (bsc#960341).
  • CVE-2016-5318: Stack-based buffer overflow in the _TIFFVGetField function allowed remote attackers to crash the application via a crafted tiff (bsc#983436).
  • CVE-2016-10095: Stack-based buffer overflow in the _TIFFVGetField function in tif_dir.c allowed remote attackers to cause a denial of service (crash) via a crafted TIFF file (bsc#1017690,).
  • CVE-2016-10268: tools/tiffcp.c allowed remote attackers to cause a denial of service (integer underflow and heap-based buffer under-read) or possibly have unspecified other impact via a crafted TIFF image, related to 'READ of size 78490' and libtiff/tif_unix.c:115:23 (bsc#1031255)
  • An overlapping of memcpy parameters was fixed which could lead to content corruption (bsc#1017691).
  • Fixed an invalid memory read which could lead to a crash (bsc#1017692).
  • Fixed a NULL pointer dereference in TIFFReadRawData (tiffinfo.c) that could crash the decoder (bsc#1017688).
Record
SUSE-SU-2018:1179-1
Updated
2026-11-02
OSVSUSE-SU-2018:1180-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2017-9935: There was 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 (bsc#1046077)
  • CVE-2017-17973: There is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. (bsc#1074318)
  • CVE-2018-5784: There is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries (bsc#1081690)
Record
SUSE-SU-2018:1180-1
Updated
2026-11-02
OSVSUSE-SU-2018:3289-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2018-17100: There is a int32 overflow in multiply_ms in tools/ppm2tiff.c, which can cause a denial of service (crash) or possibly have unspecified other impact via a crafted image file. (bsc#1108637)
  • CVE-2018-17101: There are two out-of-bounds writes in cpTags in tools/tiff2bw.c and tools/pal2rgb.c, which can cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image file. (bsc#1108627)
  • CVE-2018-17795: The function t2p_write_pdf in tiff2pdf.c allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted TIFF file, a similar issue to CVE-2017-9935. (bsc#1110358)
  • CVE-2018-16335: newoffsets handling in ChopUpSingleUncompressedStrip in tif_dirread.c allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted TIFF file, as demonstrated by tiff2pdf. This is a different vulnerability than CVE-2018-15209. (bsc#1106853)
Record
SUSE-SU-2018:3289-1
Updated
2026-11-02
OSVSUSE-SU-2018:3391-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2018-17100: There is a int32 overflow in multiply_ms in tools/ppm2tiff.c, which can cause a denial of service (crash) or possibly have unspecified other impact via a crafted image file. (bsc#1108637)
  • CVE-2018-17101: There are two out-of-bounds writes in cpTags in tools/tiff2bw.c and tools/pal2rgb.c, which can cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image file. (bsc#1108627)
  • CVE-2018-17795: The function t2p_write_pdf in tiff2pdf.c allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted TIFF file, a similar issue to CVE-2017-9935. (bsc#1110358)
  • CVE-2018-16335: newoffsets handling in ChopUpSingleUncompressedStrip in tif_dirread.c allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted TIFF file, as demonstrated by tiff2pdf. This is a different vulnerability than CVE-2018-15209. (bsc#1106853)
Record
SUSE-SU-2018:3391-1
Updated
2026-11-02
OSVUSN-3606-1 No score

tiff vulnerabilities

It was discovered that LibTIFF incorrectly handled certain malformed images. If a user or automated system were tricked into opening a specially crafted image, a remote attacker could crash the application, leading to a denial of service, or possibly execute arbitrary code with user privileges.

Record
USN-3606-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tiff
Alpine:v3.10
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.11
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.12
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.13
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.14
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.15
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.16
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.17
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.18
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.19
before 4.0.9-r6
4.0.9-r6
Show 35 moreShow less
Affected packages
PackageAffectedFixed
tiff
Alpine:v3.20
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.21
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.22
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.23
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.24
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.5
before 4.0.9-r5
4.0.9-r5
tiff
Alpine:v3.6
before 4.0.9-r5
4.0.9-r5
tiff
Alpine:v3.7
before 4.0.9-r5
4.0.9-r5
tiff
Alpine:v3.8
before 4.0.9-r6
4.0.9-r6
tiff
Alpine:v3.9
before 4.0.9-r6
4.0.9-r6
tiff
Debian:12
before 4.0.9-2
4.0.9-2
tiff
Debian:13
before 4.0.9-2
4.0.9-2
tiff
Debian:14
before 4.0.9-2
4.0.9-2
tiff
Debian:7
before 4.0.2-6+deb7u17, plus listed versions
4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u104.0.2-6+deb7u114.0.2-6+deb7u12
Show 12 moreShow less
4.0.2-6+deb7u134.0.2-6+deb7u144.0.2-6+deb7u154.0.2-6+deb7u164.0.2-6+deb7u24.0.2-6+deb7u34.0.2-6+deb7u44.0.2-6+deb7u54.0.2-6+deb7u64.0.2-6+deb7u74.0.2-6+deb7u84.0.2-6+deb7u9
4.0.2-6+deb7u17
tiff
Debian:8
before 4.0.3-12.3+deb8u5, plus listed versions
4.0.3-12.34.0.3-12.3+deb8u14.0.3-12.3+deb8u24.0.3-12.3+deb8u34.0.3-12.3+deb8u4
4.0.3-12.3+deb8u5
tiff
Debian:9
before 4.0.8-2+deb9u2, plus listed versions
4.0.8-24.0.8-2+deb9u1
4.0.8-2+deb9u2
libtiff
Mageia:5
before 4.0.9-1.1.mga5
4.0.9-1.1.mga5
libtiff
Mageia:6
before 4.0.9-1.1.mga6
4.0.9-1.1.mga6
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Server 11 SP4
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Desktop 12 SP3
before 4.0.9-44.10.1
4.0.9-44.10.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 4.0.9-44.10.1
4.0.9-44.10.1
tiff
SUSE:Linux Enterprise Server 12 SP3
before 4.0.9-44.10.1
4.0.9-44.10.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.0.9-44.10.1
4.0.9-44.10.1
tiff
SUSE:Linux Enterprise Desktop 12 SP3
before 4.0.9-44.24.1
4.0.9-44.24.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 4.0.9-44.24.1
4.0.9-44.24.1
tiff
SUSE:Linux Enterprise Server 12 SP3
before 4.0.9-44.24.1
4.0.9-44.24.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.0.9-44.24.1
4.0.9-44.24.1
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.8.2-141.169.19.1
3.8.2-141.169.19.1
tiff
SUSE:Linux Enterprise Server 11 SP4
before 3.8.2-141.169.19.1
3.8.2-141.169.19.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 3.8.2-141.169.19.1
3.8.2-141.169.19.1
tiff
Ubuntu:14.04:LTS
before 4.0.3-7ubuntu0.9, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 7 moreShow less
4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.44.0.3-7ubuntu0.64.0.3-7ubuntu0.74.0.3-7ubuntu0.8
4.0.3-7ubuntu0.9
tiff
Ubuntu:16.04:LTS
before 4.0.6-1ubuntu0.4, plus listed versions
4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.24.0.6-1ubuntu0.3
4.0.6-1ubuntu0.4
tiff
openSUSE:Tumbleweed
before 4.3.0-1.3
4.3.0-1.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-9935 is a high vulnerability (CVSS 8.8) in Libtiff, published June 26, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.92%, the 90th percentile. Fixed in tiff 4.0.9-r6.

References

Show 99 moreShow less
MoveEnter Open