CVE-2018-12900
published 2018-06-26CVE-2018-12900: 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…
PriorityP353high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
25.18%
97.7th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | tiff | < tiff 4.0.10-4 (bookworm) | tiff 4.0.10-4 (bookworm) |
| libtiff | libtiff | — | — |
| libtiff | libtiff | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
LibTIFF vulnerabilities
vendor_ubuntu·2019-03-18
CVE-2018-10779 LibTIFF vulnerabilities
Title: LibTIFF vulnerabilities
Summary: LibTIFF could be made to crash or run programs as your login if it opened a
specially crafted file.
USN-3906-1 and USN-3864-1 fixed several vulnerabilities in LibTIFF. This update
provides the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
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.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
LibTIFF vulnerabilities
vendor_ubuntu·2019-03-12
CVE-2018-10779 LibTIFF vulnerabilities
Title: LibTIFF vulnerabilities
Summary: LibTIFF could be made to crash or run programs as your login if it opened a
specially crafted file.
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.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2019-7663: tiff - An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfu...
vendor_debian·2019·CVSS 8.8
CVE-2019-7663 [HIGH] CVE-2019-7663: tiff - An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfu...
An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite.c in LibTIFF 4.0.10, affecting the cpSeparateBufToContigBuf function in tiffcp.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted tiff file. This is different from CVE-2018-12900.
Scope: local
bookworm: resolved (fixed in 4.0.10-4)
bullseye: resolved (fixed in 4.0.10-4)
forky: resolved (fixed in 4.0.10-4)
sid: resolved (fixed in 4.0.10-4)
trixie: resolved (fixed in 4.0.10-4)
Red Hat
libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
vendor_redhat·2018-12-18·CVSS 8.8
CVE-2019-7663 [HIGH] CWE-190 libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite.c in LibTIFF 4.0.10, affecting the cpSeparateBufToContigBuf function in tiffcp.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted tiff file. This is different from CVE-2018-12900.
Statement: This report appears to be a duplicate of CVE-2018-17000. While the crash manifests differently, both vulnerabilities are fixed by the same upstream commit.
Package: libtiff (Red Hat Enterprise Linux 5) - Not affected
Package: libtiff (Red Hat Enterprise Linux 6) - Not affected
Package: libtiff (Red Hat Enterprise Linux 7) - Not affected
Package: li
Red Hat
libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
vendor_redhat·2018-06-26·CVSS 8.8
CVE-2018-12900 [HIGH] CWE-122 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
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.
Package: libtiff (Red Hat Enterprise Linux 5) - Will not fix
Package: libtiff (Red Hat Enterprise Linux 6) - Will not fix
Package: compat-libtiff3 (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2018-12900: tiff - Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c ...
vendor_debian·2018·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900: tiff - Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c ...
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.
Scope: local
bookworm: resolved (fixed in 4.0.10-4)
bullseye: resolved (fixed in 4.0.10-4)
forky: resolved (fixed in 4.0.10-4)
sid: resolved (fixed in 4.0.10-4)
trixie: resolved (fixed in 4.0.10-4)
GHSA
GHSA-26x4-fg42-26fj: An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite
ghsa_unreviewed·2022-05-13·CVSS 8.8
CVE-2019-7663 [HIGH] GHSA-26x4-fg42-26fj: An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite
An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite.c in LibTIFF 4.0.10, affecting the cpSeparateBufToContigBuf function in tiffcp.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted tiff file. This is different from CVE-2018-12900.
GHSA
GHSA-v933-8xv5-c5mm: Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp
ghsa_unreviewed·2022-05-13
CVE-2018-12900 [HIGH] CWE-787 GHSA-v933-8xv5-c5mm: Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp
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.
OSV
CVE-2019-7663: An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite
osv·2019-02-09·CVSS 8.8
CVE-2019-7663 [HIGH] CVE-2019-7663: An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite
An Invalid Address dereference was discovered in TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite.c in LibTIFF 4.0.10, affecting the cpSeparateBufToContigBuf function in tiffcp.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted tiff file. This is different from CVE-2018-12900.
OSV
CVE-2018-12900: Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp
osv·2018-06-26·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900: Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-7663 libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
bugzilla·2019-02-15·CVSS 8.8
CVE-2019-7663 [HIGH] CVE-2019-7663 libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
CVE-2019-7663 libtiff: integer overflow in libtiff/tif_dirwrite.c resulting in an invalid pointer dereference
An Invalid Address dereference was discovered in
TIFFWriteDirectoryTagTransferfunction in libtiff/tif_dirwrite.c in LibTIFF
4.0.10, affecting the cpSeparateBufToContigBuf function in tiffcp.c. Remote
attackers could leverage this vulnerability to cause a denial-of-service via a
crafted tiff file. This is different from CVE-2018-12900.
References:
http://bugzilla.maptools.org/show_bug.cgi?id=2833
https://gitlab.com/libtiff/libtiff/merge_requests/60/diffs
Discussion:
Created libtiff tracking bugs for this issue:
Affects: fedora-all [bug 1677529]
---
*** This bug has been marked as a duplicate of bug 1630004 ***
---
Statement:
This report appears to be a duplicate of CVE-201
Bugzilla
CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [epel-7]
bugzilla·2018-06-27·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [epel-7]
CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM
Bugzilla
CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
bugzilla·2018-06-27·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changel
Bugzilla
CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
bugzilla·2018-06-27·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
CVE-2018-12900 mingw-libtiff: libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in
Bugzilla
CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
bugzilla·2018-06-27·CVSS 8.8
CVE-2018-12900 [HIGH] CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
CVE-2018-12900 libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
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.
Upstream issue:
http://bugzilla.maptools.org/show_bug.cgi?id=2798
Discussion:
Created libtiff tracking bugs for this issue:
Affects: fedora-all [bug 1595576]
Created mingw-libtiff tracking bugs for this issue:
Affects: epel-7 [bug 1595578]
Affects: fedora-all [bug 1595577]
---
Raised CVSSv3 to 5.3/CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L because I do not exclude something more than a simple crash is possi
Bugzilla
CVE-2017-12900 tcpdump: Buffer over-read in util-print.c:tok2strbuf()
bugzilla·2017-09-11·CVSS 9.8
CVE-2017-12900 [CRITICAL] CVE-2017-12900 tcpdump: Buffer over-read in util-print.c:tok2strbuf()
CVE-2017-12900 tcpdump: Buffer over-read in util-print.c:tok2strbuf()
Buffer over-read in util-print.c:tok2strbuf() was found.
This vulnerability can be exploited in two ways. The first is to produce a .pcap file with crafted packet(s) for the protocol(s) concerned and make the target system try to decode the file using tcpdump. The second is to send specially crafted packet(s) to the network segment where the target system is running a tcpdump process that is decoding a live packet capture. In the latter case it depends on the specific network protocol if the crafted packet(s) may be sent from the local segment only or from a remote Internet host.
Discussion:
Acknowledgments:
Name: the Tcpdump project
---
This issue was addressed in Red Hat Enterprise Linux 7 via RHEA-2018:0705, wh
http://bugzilla.maptools.org/show_bug.cgi?id=2798https://access.redhat.com/errata/RHSA-2019:2053https://access.redhat.com/errata/RHSA-2019:3419https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-12900https://lists.debian.org/debian-lts-announce/2019/11/msg00027.htmlhttps://usn.ubuntu.com/3906-1/https://usn.ubuntu.com/3906-2/https://www.debian.org/security/2020/dsa-4670http://bugzilla.maptools.org/show_bug.cgi?id=2798https://access.redhat.com/errata/RHSA-2019:2053https://access.redhat.com/errata/RHSA-2019:3419https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-12900https://lists.debian.org/debian-lts-announce/2019/11/msg00027.htmlhttps://usn.ubuntu.com/3906-1/https://usn.ubuntu.com/3906-2/https://www.debian.org/security/2020/dsa-4670
2018-06-26
Published