CVE-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 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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tcpdump | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tcpdump | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | tcpdump | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | tcpdump | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | tcpdump | Fixed | 4.9.3-4ubuntu0.1 | UBUNTU-CVE-2018-16301 |
| Ubuntu 18.04 | tcpdump | Fixed | 4.9.3-0ubuntu0.18.04.2 | UBUNTU-CVE-2018-16301 |
| Ubuntu 16.04 | tcpdump | Fix pending | 4.9.3-0ubuntu0.16.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-16301 |
| Ubuntu 14.04 | tcpdump | Fix pending | UBUNTU-CVE-2018-16301 | |
| Debian 14 | tcpdump | Fixed | 4.99.0-1 | DEBIAN-CVE-2018-16301 |
| Debian 13 | tcpdump | Fixed | 4.99.0-1 | DEBIAN-CVE-2018-16301 |
| Debian 12 | tcpdump | Fixed | 4.99.0-1 | DEBIAN-CVE-2018-16301 |
| Red Hat Enterprise Linux 9 | tcpdump | Not affected | ||
| Red Hat Enterprise Linux 8 | tcpdump | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | tcpdump | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tcpdump | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.24 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.23 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.23 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.22 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.22 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.21 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.21 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.20 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.20 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.19 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.19 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.18 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.18 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.17 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.17 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.16 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.16 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.15 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.15 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.14 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.14 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.13 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.13 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.12 | libpcap | Fixed | 1.9.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.12 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.11 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.10 | libpcap | Fixed | 1.1.1-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.10 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-16301 |
| Alpine Linux 3.9 | tcpdump | Fixed | 4.9.3-r0 | ALPINE-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.
- The Tcpdump Group tcpdump: affected: unspecified to before 4.99.0; fixed in
4.99.0
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.