Every CVE Search/ Get API key

CVE-2018-18557

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0...

8.8 HighPublic exploitFix available

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

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

15.0%Up 5.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
CVE-2018-18557
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-787
Updated
2026-11-02
CVE List No score

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
CVE-2018-18557
Updated
2026-11-02
EUVDEUVD-2018-10277 No score

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
EUVD-2018-10277
Updated
2026-11-03
GitHub AdvisoriesGHSA-p963-j6qf-rp28 8.8

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0...

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
GHSA-p963-j6qf-rp28
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-787
Updated
2026-11-02
OSVALPINE-CVE-2018-18557 8.8

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
ALPINE-CVE-2018-18557
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-2018-18557 8.8

CVE-2018-18557 does not affect BellSoft software

Record
BELL-CVE-2018-18557
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

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
CVE-2018-18557
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-2018-18557 8.8

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
DEBIAN-CVE-2018-18557
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
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-18557 8.8

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Record
UBUNTU-CVE-2018-18557
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-0493 No score

Updated libtiff packages fix security vulnerabilities

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file. (CVE-2018-12900)

LibTIFF 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write. (CVE-2018-18557)

In LibTIFF 4.0.9, there is a NULL pointer dereference in the TIFFWriteDirectorySec function in tif_dirwrite.c that will lead to a denial of service attack, as demonstrated by tiffset. (CVE-2018-19210)

Record
MGASA-2018-0493
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: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 53 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.9+git181026-1
4.0.9+git181026-1
tiff
Debian:13
before 4.0.9+git181026-1
4.0.9+git181026-1
tiff
Debian:14
before 4.0.9+git181026-1
4.0.9+git181026-1
tiff
Debian:8
From an advisory covering 3 CVEs
before 4.0.3-12.3+deb8u7, 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+deb8u44.0.3-12.3+deb8u54.0.3-12.3+deb8u6
4.0.3-12.3+deb8u7
tiff
Debian:9
From an advisory covering 10 CVEs
before 4.0.8-2+deb9u4, plus listed versions
4.0.8-24.0.8-2+deb9u14.0.8-2+deb9u24.0.8-2+deb9u3
4.0.8-2+deb9u4
libtiff
Mageia:6
From an advisory covering 3 CVEs
before 4.0.9-1.9.mga6
4.0.9-1.9.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 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

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBlibtiff 4.0.9 - Decodes Arbitrarily Sized JBIG into a Target Buffer2018-10-25

History

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

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

In short

CVE-2018-18557 is a high vulnerability (CVSS 8.8) in Libtiff, published October 22, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.0%, the 96th percentile. Fixed in tiff 4.0.10-r0.

References

Show 119 moreShow less
MoveEnter Open