Every CVE Search/ Get API key

CVE-2018-12900

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3,...

8.8 HighFix available

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

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

24.8%Up 21.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

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

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Record
CVE-2018-12900
Updated
2026-11-02
EUVDEUVD-2018-4853 No score

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Record
EUVD-2018-4853
Updated
2026-11-03
GitHub AdvisoriesGHSA-v933-8xv5-c5mm 8.8

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3,...

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Record
GHSA-v933-8xv5-c5mm
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-12900 8.8

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

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

CVE-2018-12900 does not affect BellSoft software

Record
BELL-CVE-2018-12900
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 12 moreShow less
OSV 8.8

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

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

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

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

Red Hat Security Advisory: libtiff security update

Record
RHSA-2019:3419
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-12900 8.8

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Record
UBUNTU-CVE-2018-12900
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: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-3906-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-3906-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 62 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-4
4.0.10-4
tiff
Debian:13
before 4.0.10-4
4.0.10-4
tiff
Debian:14
before 4.0.10-4
4.0.10-4
tiff
Debian:8
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
tiff
Debian:9
before 4.0.8-2+deb9u5, plus listed versions
4.0.8-24.0.8-2+deb9u14.0.8-2+deb9u24.0.8-2+deb9u34.0.8-2+deb9u4
4.0.8-2+deb9u5
libtiff
Mageia:6
before 4.0.9-1.9.mga6
4.0.9-1.9.mga6
libtiff
Red Hat:enterprise_linux:7::client
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::client
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::client
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::client
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::client
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::server
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::server
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::server
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::server
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::server
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-devel
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-static
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff-tools
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-32.el7
0:4.0.3-32.el7
libtiff
Red Hat:enterprise_linux:8::appstream
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-devel
Red Hat:enterprise_linux:8::appstream
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-tools-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-debugsource
Red Hat:enterprise_linux:8::crb
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-tools
Red Hat:enterprise_linux:8::crb
before 0:4.0.9-15.el8
0:4.0.9-15.el8
libtiff-tools-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:4.0.9-15.el8
0:4.0.9-15.el8
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.8.2-141.169.22.1
3.8.2-141.169.22.1
tiff
SUSE:Linux Enterprise Server 11 SP4
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
before 3.8.2-141.169.22.1
3.8.2-141.169.22.1
tiff
SUSE:Linux Enterprise Desktop 12 SP3
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server 12 SP3
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Desktop 12 SP4
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server 12 SP4
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 4.0.9-44.27.1
4.0.9-44.27.1
tiff
SUSE:Linux Enterprise Module for Basesystem 15
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
SUSE:Linux Enterprise Module for Desktop Applications 15
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
SUSE:Linux Enterprise Module for Package Hub 15
before 4.0.9-5.17.1
4.0.9-5.17.1
tiff
Ubuntu:14.04:LTS
before 4.0.3-7ubuntu0.11, plus listed versions
4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7
Show 9 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.94.0.3-7ubuntu0.10
4.0.3-7ubuntu0.11
tiff
Ubuntu:16.04:LTS
before 4.0.6-1ubuntu0.6, 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.44.0.6-1ubuntu0.5
4.0.6-1ubuntu0.6
tiff
Ubuntu:18.04:LTS
before 4.0.9-5ubuntu0.2, plus listed versions
4.0.8-54.0.8-64.0.9-14.0.9-24.0.9-3
Show 4 moreShow less
4.0.9-44.0.9-4ubuntu14.0.9-54.0.9-5ubuntu0.1
4.0.9-5ubuntu0.2
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-2018-12900 is a high vulnerability (CVSS 8.8) in Libtiff, published June 26, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 24.8%, the 97th percentile. Fixed in tiff 4.0.10-r0.

References

Show 138 moreShow less
MoveEnter Open