# CVE-2018-16301: tcpdump: The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile()

CVE-2018-16301 is fixed in tcpdump on 1 platform, first by tcpdump 4.9.3-0ubuntu0.18.04.2, released November 4, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-16301
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0063
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 29, 2019

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | tcpdump Ubuntu 18.04.6 LTS (bionic) | 4.9.3-0ubuntu0.18.04.2 | [tcpdump 4.9.3-0ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-tcpdump-4.9.3-0ubuntu0.18.04.2.md) | Nov 4, 2020 |
| Linux | tcpdump Ubuntu 20.04 LTS (focal) | 4.9.3-4ubuntu0.1 | [tcpdump 4.9.3-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-tcpdump-4.9.3-4ubuntu0.1.md) | Nov 4, 2020 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
