CVE-2018-16301
published 2019-10-03CVE-2018-16301: The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to…
PriorityP433high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.63%
46.0th percentile
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_catalina_10.15.2_security_update_2019-002_mojave_security_update_2019-007 | — | — |
| debian | tcpdump | < tcpdump 4.99.0-1 (bookworm) | tcpdump 4.99.0-1 (bookworm) |
| msrc | cbl2_tcpdump_4.99.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_tcpdump_4.99.1-1_on_cbl_mariner_1.0 | — | — |
| tcpdump | tcpdump | < 4.99.0 | 4.99.0 |
| tcpdump | tcpdump | >= 0 < 4.99.0-1 | 4.99.0-1 |
| tcpdump | tcpdump | >= 0 < 4.99.0-1 | 4.99.0-1 |
| tcpdump | tcpdump | >= 0 < 4.99.0-1 | 4.99.0-1 |
| tcpdump | tcpdump | >= 0 < 4.99.0-1 | 4.99.0-1 |
| tcpdump | tcpdump | >= 0 < 4.9.3-0ubuntu0.18.04.2 | 4.9.3-0ubuntu0.18.04.2 |
| tcpdump | tcpdump | >= 0 < 4.9.3-4ubuntu0.1 | 4.9.3-4ubuntu0.1 |
| tcpdump | tcpdump | >= 0 < 4.9.3-0ubuntu0.16.04.1+esm1 | 4.9.3-0ubuntu0.16.04.1+esm1 |
| the_tcpdump_group | tcpdump | >= unspecified < 4.99.0 | 4.99.0 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.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.
GHSA
GHSA-h8wh-rj39-x373: libpcap before 1
ghsa_unreviewed·2022-05-24
CVE-2018-16301 [HIGH] CWE-120 GHSA-h8wh-rj39-x373: libpcap before 1
libpcap before 1.9.1, as used in tcpdump before 4.9.3, has a buffer overflow and/or over-read because of errors in pcapng reading.
OSV
tcpdump vulnerabilities
osv·2022-04-11·CVSS 7.8
CVE-2018-16301 [HIGH] tcpdump vulnerabilities
tcpdump vulnerabilities
USN-5331-1 fixed several vulnerabilities in tcpdump. This update provides
the corresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that tcpdump incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service,
or possibly execute arbitrary code. (CVE-2018-16301)
It was discovered that tcpdump incorrectly handled certain captured data.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2020-8037)
OSV
tcpdump vulnerabilities
osv·2022-03-16·CVSS 7.8
CVE-2018-16301 [HIGH] tcpdump vulnerabilities
tcpdump vulnerabilities
It was discovered that tcpdump incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service,
or possibly execute arbitrary code. (CVE-2018-16301)
It was discovered that tcpdump incorrectly handled certain captured data.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2020-8037)
OSV
CVE-2018-16301: The command-line argument parser in tcpdump before 4
osv·2019-10-03·CVSS 7.8
CVE-2018-16301 [HIGH] CVE-2018-16301: The command-line argument parser in tcpdump before 4
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
Ubuntu
tcpdump vulnerabilities
vendor_ubuntu·2022-04-11·CVSS 7.8
CVE-2018-16301 [HIGH] tcpdump vulnerabilities
Title: tcpdump vulnerabilities
Summary: Several security issues were fixed in tcpdump.
USN-5331-1 fixed several vulnerabilities in tcpdump. This update provides
the corresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that tcpdump incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service,
or possibly execute arbitrary code. (CVE-2018-16301)
It was discovered that tcpdump incorrectly handled certain captured data.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2020-8037)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
tcpdump vulnerabilities
vendor_ubuntu·2022-03-16·CVSS 7.8
CVE-2018-16301 [HIGH] tcpdump vulnerabilities
Title: tcpdump vulnerabilities
Summary: Several security issues were fixed in tcpdump.
It was discovered that tcpdump incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a denial of service,
or possibly execute arbitrary code. (CVE-2018-16301)
It was discovered that tcpdump incorrectly handled certain captured data.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2020-8037)
Instructions: In general, a standard system update will make all the necessary changes.
Apple
CVE-2018-16301: macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra
vendor_apple·2019-12-10·CVSS 7.8
CVE-2018-16301 [HIGH] CVE-2018-16301: macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra
Apple Security Update: About the security content of macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra
Product: macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra
CVE: CVE-2018-16301
Component: CVE-2018-16301
Microsoft
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesyste
vendor_msrc·2019-10-08·CVSS 7.8
CVE-2018-16301 [HIGH] CWE-120 The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesyste
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post f
Red Hat
tcpdump: Buffer overflow in the -F command line argument parser
vendor_redhat·2019-09-30·CVSS 7.8
CVE-2018-16301 [HIGH] CWE-120 tcpdump: Buffer overflow in the -F command line argument parser
tcpdump: Buffer overflow in the -F command line argument parser
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
Statement: This flaw has been rated as having a security impact of Low. See the discussion on upstream issue https://github.com/the-tcpdump-group/libpcap/issues/855 for more information.
Package: tcpdump (Red Hat Enterprise Linux 6) - Out of support scope
Package: tcpdump (Red Hat Enterprise Linux 7) - Out of support scope
Package: tcpdump (Red Hat Enterprise Linux 8) - Fix deferred
Package: tcpdump (Red Hat Enterprise Linux 9) - Not affe
Debian
CVE-2018-16301: tcpdump - The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow ...
vendor_debian·2018·CVSS 7.8
CVE-2018-16301 [HIGH] CVE-2018-16301: tcpdump - The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow ...
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
Scope: local
bookworm: resolved (fixed in 4.99.0-1)
bullseye: resolved (fixed in 4.99.0-1)
forky: resolved (fixed in 4.99.0-1)
sid: resolved (fixed in 4.99.0-1)
trixie: resolved (fixed in 4.99.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
bugzilla·2019-10-10·CVSS 7.8
CVE-2018-16301 [HIGH] CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
libpcap before 1.9.1, as used in tcpdump before 4.9.3, has a buffer overflow and/or over-read because of errors in pcapng reading.
References:
https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.9/CHANGES
Discussion:
Created libpcap tracking bugs for this issue:
Affects: fedora-all [bug 1760624]
---
According to upstream (see comments after https://github.com/the-tcpdump-group/libpcap/issues/855#issuecomment-575450988) this is not a real issue in libpcap, so I'm closing this as NOTABUG.
---
Following the discussion on https://github.com/the-tcpdump-group/libpcap/issues/855, I'm turning this bug into a security issue for tcpdump (instead of libpcap).
Upstream fix:
https://github.com/the-tcpdump
Bugzilla
CVE-2018-16301 CVE-2019-15161 CVE-2019-15162 CVE-2019-15163 CVE-2019-15164 CVE-2019-15165 libpcap: various flaws [fedora-all]
bugzilla·2019-10-10·CVSS 7.8
CVE-2018-16301 [HIGH] CVE-2018-16301 CVE-2019-15161 CVE-2019-15162 CVE-2019-15163 CVE-2019-15164 CVE-2019-15165 libpcap: various flaws [fedora-all]
CVE-2018-16301 CVE-2019-15161 CVE-2019-15162 CVE-2019-15163 CVE-2019-15164 CVE-2019-15165 libpcap: various flaws [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 changelog and the
fedpkg commit message.
NOTE
2019-10-03
Published