CVEfocus › CVE database › CVE-2018-16301

CVE-2018-16301

CVSS 7.8 HighEPSS 0.6% (higher than 51% of CVEs)Published 2019-10-03Updated 2026-10-08Assigner: Tcpdump

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.

CWE-190CWE-787

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
3Fix pending
2Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tcpdumpNot affected
vulnerable_code_not_present
Ubuntu 25.10tcpdumpNot affected
vulnerable_code_not_present
Ubuntu 24.04tcpdumpNot affected
vulnerable_code_not_present
Ubuntu 22.04tcpdumpNot affected
vulnerable_code_not_present
Ubuntu 20.04tcpdumpFixed4.9.3-4ubuntu0.1UBUNTU-CVE-2018-16301
Ubuntu 18.04tcpdumpFixed4.9.3-0ubuntu0.18.04.2UBUNTU-CVE-2018-16301
Ubuntu 16.04tcpdumpFix pending4.9.3-0ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-16301
Ubuntu 14.04tcpdumpFix pendingUBUNTU-CVE-2018-16301
Debian 14tcpdumpFixed4.99.0-1DEBIAN-CVE-2018-16301
Debian 13tcpdumpFixed4.99.0-1DEBIAN-CVE-2018-16301
Debian 12tcpdumpFixed4.99.0-1DEBIAN-CVE-2018-16301
Red Hat Enterprise Linux 9tcpdumpNot affected
Red Hat Enterprise Linux 8tcpdumpFix pending
Fix deferred
Red Hat Enterprise Linux 7tcpdumpWill not fix
Out of support scope
Red Hat Enterprise Linux 6tcpdumpWill not fix
Out of support scope
Alpine Linux 3.24libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.24tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.23libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.23tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.22libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.22tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.21libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.21tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.20libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.20tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.19libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.19tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.18libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.18tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.17libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.17tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.16libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.16tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.15libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.15tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.14libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.14tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.13libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.13tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.12libpcapFixed1.9.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.12tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.11tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.10libpcapFixed1.1.1-r0ALPINE-CVE-2018-16301
Alpine Linux 3.10tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301
Alpine Linux 3.9tcpdumpFixed4.9.3-r0ALPINE-CVE-2018-16301

What the vendor says

As published in the CVE record by Tcpdump, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.