Every CVE Search/ Get API key

CVE-2017-18013

In LibTIFF 4.0.9, there is a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory...

6.5 MediumFix available

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

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
None
Integrity
None
Availability
High

Exploit likelihood

2.92%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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

Record
CVE-2017-18013
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

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

Record
CVE-2017-18013
Updated
2026-11-02
EUVDEUVD-2017-9153 No score

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

Record
EUVD-2017-9153
Updated
2026-11-03
GitHub AdvisoriesGHSA-cp7r-wf78-8x92 6.5

In LibTIFF 4.0.9, there is a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory...

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

Record
GHSA-cp7r-wf78-8x92
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSVALPINE-CVE-2017-18013 6.5

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

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

CVE-2017-18013 does not affect BellSoft software

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

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

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

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

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

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

Record
UBUNTU-CVE-2017-18013
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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:1472-1 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2016-5315: The setByteArray function in tif_dir.c allowed remote attackers to cause a denial of service (out-of-bounds read) via a crafted tiff image. (bsc#984809)
  • CVE-2016-10267: LibTIFF allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image, related to libtiff/tif_ojpeg.c:816:8. (bsc#1017694)
  • CVE-2016-10269: LibTIFF allowed remote attackers to cause a denial of service (heap-based buffer over-read) or possibly have unspecified other impact via a crafted TIFF image, related to 'READ of size 512' and libtiff/tif_unix.c:340:2. (bsc#1031254)
  • CVE-2016-10270: LibTIFF allowed remote attackers to cause a denial of service (heap-based buffer over-read) or possibly have unspecified other impact via a crafted TIFF image, related to 'READ of size 8' and libtiff/tif_read.c:523:22. (bsc#1031250)
  • CVE-2017-18013: In LibTIFF, there was a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory function, as demonstrated by a tiffinfo crash. (bsc#1074317)
  • CVE-2017-7593: tif_read.c did not ensure that tif_rawdata is properly initialized, which might have allowed remote attackers to obtain sensitive information from process memory via a crafted image. (bsc#1033129)
  • CVE-2017-7595: The JPEGSetupEncode function in tiff_jpeg.c allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image. (bsc#1033127)
  • CVE-2017-7596: LibTIFF had an 'outside the range of representable values of type float' undefined behavior issue, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033126)
  • CVE-2017-7597: tif_dirread.c had an 'outside the range of representable values of type float' undefined behavior issue, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033120)
  • CVE-2017-7599: LibTIFF had an 'outside the range of representable values of type short' undefined behavior issue, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033113)
  • CVE-2017-7600: LibTIFF had an 'outside the range of representable values of type unsigned char' undefined behavior issue, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033112)
  • CVE-2017-7601: LibTIFF had a 'shift exponent too large for 64-bit type long' undefined behavior issue, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033111)
  • CVE-2017-7602: LibTIFF had a signed integer overflow, which might have allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image. (bsc#1033109)
  • Multiple divide by zero issues
  • CVE-2016-5314: Buffer overflow in the PixarLogDecode function in tif_pixarlog.c allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted TIFF image, as demonstrated by overwriting the vgetparent function pointer with rgb2ycbcr. (bsc#987351 bsc#984808 bsc#984831)
Record
SUSE-SU-2018:1472-1
Updated
2026-11-02
OSVSUSE-SU-2018:1826-1 No score

Security update for tiff

This update for tiff fixes the following issues:

These security issues were fixed:

  • CVE-2017-18013: There was a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory function, as demonstrated by a tiffinfo crash. (bsc#1074317)
  • CVE-2018-10963: The TIFFWriteDirectorySec() function in tif_dirwrite.c allowed remote attackers to cause a denial of service (assertion failure and application crash) via a crafted file, a different vulnerability than CVE-2017-13726. (bsc#1092949)
  • CVE-2018-7456: Prevent a NULL Pointer dereference in the function TIFFPrintDirectory when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013 (bsc#1082825)
  • CVE-2017-11613: Prevent denial of service in the TIFFOpen function. During the TIFFOpen process, td_imagelength is not checked. The value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip function, the _TIFFCheckMalloc function is called based on td_imagelength. If the value of td_imagelength is set close to the amount of system memory, it will hang the system or trigger the OOM killer (bsc#1082332)
  • CVE-2018-8905: Prevent heap-based buffer overflow in the function LZWDecodeCompat via a crafted TIFF file (bsc#1086408)
  • CVE-2016-8331: Prevent remote code execution because of incorrect handling of TIFF images. A crafted TIFF document could have lead to a type confusion vulnerability resulting in remote code execution. This vulnerability could have been be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality (bsc#1007276)
  • CVE-2016-3632: The _TIFFVGetField function allowed remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image (bsc#974621)
Record
SUSE-SU-2018:1826-1
Updated
2026-11-02
OSVSUSE-SU-2018:1889-1 No score

Security update for tiff

This update for tiff fixes the following security issues:

These security issues were fixed:

  • CVE-2017-18013: Fixed a NULL pointer dereference in the tif_print.cTIFFPrintDirectory function that could have lead to denial of service (bsc#1074317).
  • CVE-2018-10963: Fixed an assertion failure in the TIFFWriteDirectorySec() function in tif_dirwrite.c, which allowed remote attackers to cause a denial of service via a crafted file (bsc#1092949).
  • CVE-2018-7456: Prevent a NULL Pointer dereference in the function TIFFPrintDirectory when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013 (bsc#1082825).
  • CVE-2017-11613: Prevent denial of service in the TIFFOpen function. During the TIFFOpen process, td_imagelength is not checked. The value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip function, the _TIFFCheckMalloc function is called based on td_imagelength. If the value of td_imagelength is set close to the amount of system memory, it will hang the system or trigger the OOM killer (bsc#1082332).
  • CVE-2018-8905: Prevent heap-based buffer overflow in the function LZWDecodeCompat via a crafted TIFF file (bsc#1086408).
Record
SUSE-SU-2018:1889-1
Updated
2026-11-02
OSVUSN-3602-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-3602-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-r1
4.0.9-r1
tiff
Alpine:v3.11
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.12
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.13
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.14
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.15
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.16
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.17
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.18
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.19
before 4.0.9-r1
4.0.9-r1
Show 36 moreShow less
Affected packages
PackageAffectedFixed
tiff
Alpine:v3.20
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.21
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.22
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.23
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.24
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.4
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.5
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.6
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.7
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.8
before 4.0.9-r1
4.0.9-r1
tiff
Alpine:v3.9
before 4.0.9-r1
4.0.9-r1
tiff
Debian:12
before 4.0.9-3
4.0.9-3
tiff
Debian:13
before 4.0.9-3
4.0.9-3
tiff
Debian:14
before 4.0.9-3
4.0.9-3
tiff
Debian:7
before 4.0.2-6+deb7u18, plus listed versions
4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u104.0.2-6+deb7u114.0.2-6+deb7u12
Show 13 moreShow less
4.0.2-6+deb7u134.0.2-6+deb7u144.0.2-6+deb7u154.0.2-6+deb7u164.0.2-6+deb7u174.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+deb7u18
tiff3
Debian:7
before 3.9.6-11+deb7u9, plus listed versions
3.9.6-113.9.6-11+deb7u13.9.6-11+deb7u23.9.6-11+deb7u33.9.6-11+deb7u4
Show 4 moreShow less
3.9.6-11+deb7u53.9.6-11+deb7u63.9.6-11+deb7u73.9.6-11+deb7u8
3.9.6-11+deb7u9
tiff
Debian:8
From an advisory covering 6 CVEs
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
From an advisory covering 6 CVEs
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
From an advisory covering 3 CVEs
before 4.0.9-1.1.mga5
4.0.9-1.1.mga5
libtiff
Mageia:6
From an advisory covering 3 CVEs
before 4.0.9-1.1.mga6
4.0.9-1.1.mga6
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 14 CVEs
before 3.8.2-141.169.6.1
3.8.2-141.169.6.1
tiff
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 14 CVEs
before 3.8.2-141.169.6.1
3.8.2-141.169.6.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 14 CVEs
before 3.8.2-141.169.6.1
3.8.2-141.169.6.1
tiff
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 8 CVEs
before 4.0.9-44.15.2
4.0.9-44.15.2
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 8 CVEs
before 4.0.9-44.15.2
4.0.9-44.15.2
tiff
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 8 CVEs
before 4.0.9-44.15.2
4.0.9-44.15.2
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 8 CVEs
before 4.0.9-44.15.2
4.0.9-44.15.2
tiff
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 5 CVEs
before 4.0.9-5.9.1
4.0.9-5.9.1
tiff
SUSE:Linux Enterprise Module for Desktop Applications 15
From an advisory covering 5 CVEs
before 4.0.9-5.9.1
4.0.9-5.9.1
tiff
Ubuntu:14.04:LTS
before 4.0.3-7ubuntu0.8, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 6 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.7
4.0.3-7ubuntu0.8
tiff
Ubuntu:16.04:LTS
before 4.0.6-1ubuntu0.3, plus listed versions
4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.2
4.0.6-1ubuntu0.3
tiff
Ubuntu:14.04:LTS
From an advisory covering 27 CVEs
before 4.0.3-7ubuntu0.8, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 6 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.7
4.0.3-7ubuntu0.8
tiff
Ubuntu:16.04:LTS
From an advisory covering 27 CVEs
before 4.0.6-1ubuntu0.3, plus listed versions
4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.2
4.0.6-1ubuntu0.3
tiff
Ubuntu:14.04:LTS
From an advisory covering 12 CVEs
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
From an advisory covering 12 CVEs
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
From an advisory covering 48 CVEs
before 4.3.0-1.3
4.3.0-1.3

History

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

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

In short

CVE-2017-18013 is a medium vulnerability (CVSS 6.5) in Libtiff, published January 1, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.92%, the 87th percentile. Fixed in tiff 4.0.9-r1.

References

Show 130 moreShow less
MoveEnter Open