Every CVE Search/ Get API key

CVE-2018-18661

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function...

6.5 MediumFix available

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

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.87%Up 1.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
CVE-2018-18661
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

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
CVE-2018-18661
Updated
2026-11-02
EUVDEUVD-2018-10377 No score

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
EUVD-2018-10377
Updated
2026-11-03
GitHub AdvisoriesGHSA-49q9-9f29-jccf 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function...

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
GHSA-49q9-9f29-jccf
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-2018-18661 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
ALPINE-CVE-2018-18661
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-2018-18661 6.5

CVE-2018-18661 does not affect BellSoft software

Record
BELL-CVE-2018-18661
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 11 moreShow less
OSV 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
CVE-2018-18661
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-2018-18661 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
DEBIAN-CVE-2018-18661
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
OSVRHSA-2019:2053 5.3

Red Hat Security Advisory: libtiff security update

Record
RHSA-2019:2053
CVSS 3.0
5.3 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2018-18661 6.5

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.

Record
UBUNTU-CVE-2018-18661
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-0444 No score

Updated libtiff packages fix security vulnerability

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c. (CVE-2018-18661)

Record
MGASA-2018-0444
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:3879-1 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).
  • CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).
  • CVE-2017-9147: Fixed invalid read in the _TIFFVGetField function in tif_dir.c, that allowed remote attackers to cause a DoS via acrafted TIFF file (bsc#1040322).
  • CVE-2017-9117: Fixed BMP images processing that was verified without biWidth and biHeight values (bsc#1040080).
  • CVE-2017-17942: Fixed issue in the function PackBitsEncode that could have led to a heap overflow and caused a DoS (bsc#1074186).
  • CVE-2016-9273: Fixed heap-based buffer overflow issue (bsc#1010163).
  • CVE-2016-5319: Fixed heap-based buffer overflow in PackBitsEncode (bsc#983440).
  • CVE-2016-3621: Fixed out-of-bounds read in the bmp2tiff tool (lzw packing) (bsc#974448).
  • CVE-2016-3620: Fixed out-of-bounds read in the bmp2tiff tool (zip packing) (bsc#974447)
  • CVE-2016-3619: Fixed out-of-bounds read in the bmp2tiff tool (none packing) (bsc#974446)
  • CVE-2015-8870: Fixed integer overflow in tools/bmp2tiff.c that allowed remote attackers to causea DOS (bsc#1014461).

Non-security issues fixed:

  • asan_build: build ASAN included
  • debug_build: build more suitable for debugging
Record
SUSE-SU-2018:3879-1
Updated
2026-11-02
OSVSUSE-SU-2018:3911-1 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).
  • CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).
  • CVE-2018-18557: Fixed JBIG decode can lead to out-of-bounds write (bsc#1113094).

Non-security issues fixed:

  • asan_build: build ASAN included
  • debug_build: build more suitable for debugging
Record
SUSE-SU-2018:3911-1
Updated
2026-11-02
OSVSUSE-SU-2018:3911-2 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).
  • CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).
  • CVE-2018-18557: Fixed JBIG decode can lead to out-of-bounds write (bsc#1113094).

Non-security issues fixed:

  • asan_build: build ASAN included
  • debug_build: build more suitable for debugging
Record
SUSE-SU-2018:3911-2
Updated
2026-11-02
OSVSUSE-SU-2018:3925-1 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).
  • CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).
  • CVE-2018-18557: Fixed JBIG decode can lead to out-of-bounds write (bsc#1113094).

Non-security issues fixed:

  • asan_build: build ASAN included
  • debug_build: build more suitable for debugging
Record
SUSE-SU-2018:3925-1
Updated
2026-11-02
OSVUSN-3864-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-3864-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tiff
Alpine:v3.10
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.11
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.12
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.13
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.14
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.15
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.16
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.17
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.18
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.19
before 4.0.10-r0
4.0.10-r0
Show 55 moreShow less
Affected packages
PackageAffectedFixed
tiff
Alpine:v3.20
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.21
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.22
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.23
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.24
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.6
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.7
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.8
before 4.0.10-r0
4.0.10-r0
tiff
Alpine:v3.9
before 4.0.10-r0
4.0.10-r0
tiff
Debian:12
before 4.0.10-1
4.0.10-1
tiff
Debian:13
before 4.0.10-1
4.0.10-1
tiff
Debian:14
before 4.0.10-1
4.0.10-1
tiff
Debian:8
From an advisory covering 5 CVEs
before 4.0.3-12.3+deb8u10, 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
Show 5 moreShow less
4.0.3-12.3+deb8u54.0.3-12.3+deb8u64.0.3-12.3+deb8u74.0.3-12.3+deb8u84.0.3-12.3+deb8u9
4.0.3-12.3+deb8u10
libtiff
Mageia:6
before 4.0.9-1.8.mga6
4.0.9-1.8.mga6
libtiff
Red Hat:enterprise_linux:7::client
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::client
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::client
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::computenode
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::computenode
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::computenode
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::server
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::server
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::server
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::workstation
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::workstation
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::workstation
From an advisory covering 10 CVEs
before 0:4.0.3-32.el7
0:4.0.3-32.el7
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.22.1
3.8.2-141.169.22.1
tiff
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.22.1
3.8.2-141.169.22.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.22.1
3.8.2-141.169.22.1
tiff
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 3 CVEs
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 3 CVEs
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
SUSE:Linux Enterprise Module for Desktop Applications 15
From an advisory covering 3 CVEs
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
SUSE:Linux Enterprise Module for Package Hub 15
From an advisory covering 3 CVEs
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
Ubuntu:14.04:LTS
before 4.0.3-7ubuntu0.10, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 8 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.84.0.3-7ubuntu0.9
4.0.3-7ubuntu0.10
tiff
Ubuntu:16.04:LTS
before 4.0.6-1ubuntu0.5, 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.34.0.6-1ubuntu0.4
4.0.6-1ubuntu0.5
tiff
Ubuntu:18.04:LTS
before 4.0.9-5ubuntu0.1, plus listed versions
4.0.8-54.0.8-64.0.9-14.0.9-24.0.9-34.0.9-44.0.9-4ubuntu14.0.9-5
4.0.9-5ubuntu0.1
tiff
Ubuntu:14.04:LTS
From an advisory covering 7 CVEs
before 4.0.3-7ubuntu0.10, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 8 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.84.0.3-7ubuntu0.9
4.0.3-7ubuntu0.10
tiff
Ubuntu:16.04:LTS
From an advisory covering 7 CVEs
before 4.0.6-1ubuntu0.5, 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.34.0.6-1ubuntu0.4
4.0.6-1ubuntu0.5
tiff
Ubuntu:18.04:LTS
From an advisory covering 7 CVEs
before 4.0.9-5ubuntu0.1, plus listed versions
4.0.8-54.0.8-64.0.9-14.0.9-24.0.9-34.0.9-44.0.9-4ubuntu14.0.9-5
4.0.9-5ubuntu0.1
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-2018-18661 is a medium vulnerability (CVSS 6.5) in Libtiff, published October 26, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.87%, the 86th percentile. Fixed in tiff 4.0.10-r0.

References

Show 130 moreShow less
MoveEnter Open