Skip to content
OpenAdvisories
Unscored CVE-2018-16301 EUVD-2018-8152GHSA-h8wh-rj39-x373

The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability t…

Published Oct 3, 2019 · Updated Oct 8, 2026 · Assigned by Tcpdump

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.

Affected products

VendorProductAffectedFixed
The Tcpdump Group tcpdump unspecified – < 4.99.0 4.99.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tcpdump 4.99.0-1 —
Debian 13 tcpdump 4.99.0-1 —
Debian 12 tcpdump 4.99.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS tcpdump 4.9.3-4ubuntu0.1 USN-5331-2
Ubuntu 18.04 LTS tcpdump 4.9.3-0ubuntu0.18.04.2 USN-5331-2
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS tcpdump 4.9.3-0ubuntu0.16.04.1+esm1 USN-5331-1
Ubuntu Pro 14.04 LTS tcpdump No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLES 15 SP2 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLES 15 SP1 libpcap 1.8.1-4.3.1 SUSE-SU-2019:2673-1
SLES 15 SP1 tcpdump 4.9.2-3.9.1 SUSE-SU-2022:0774-1, SUSE-SU-2019:2674-1
SLES 15 libpcap 1.8.1-4.3.1 SUSE-SU-2019:2673-1
SLES 15 tcpdump 4.9.2-3.9.1 SUSE-SU-2022:0774-1, SUSE-SU-2019:2674-1
SLES 12 SP5 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES 12 SP5 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2020:3360-1, SUSE-SU-2019:2669-1
Show 31 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES 12 SP4 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SLES 12 SP3 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES 12 SP3 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SLES 12 SP2 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES 12 SP2 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SLES 12 SP1 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES 12 SP1 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
SLES 11 SP4 tcpdump 3.9.8-1.30.13.1 SUSE-SU-2022:14890-1, SUSE-SU-2019:14191-1
SLES for SAP 15 SP2 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLES for SAP 15 SP1 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLES for SAP 15 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLES for SAP 12 SP5 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP5 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2020:3360-1, SUSE-SU-2019:2669-1
SLES for SAP 12 SP4 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP4 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SLES for SAP 12 SP3 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP3 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SLES for SAP 12 SP2 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP2 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP1 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SLES for SAP 12 SP1 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
SLE Real Time 15 SP2 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLE HPC 15 SP2 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLE HPC 15 SP1 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SLE HPC 15 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE OpenStack Cloud Crowbar 9 tcpdump 4.9.2-14.20.1 SUSE-SU-2022:0505-1
SUSE OpenStack Cloud Crowbar 8 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE OpenStack Cloud Crowbar 8 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SUSE OpenStack Cloud 9 tcpdump 4.9.2-14.20.1 SUSE-SU-2022:0505-1
SUSE OpenStack Cloud 8 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE OpenStack Cloud 8 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SUSE OpenStack Cloud 7 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE OpenStack Cloud 7 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
SUSE Manager Server 4.1 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE Manager Retail Branch Server 4.1 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE Manager Proxy 4.1 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE Linux Enterprise Point of Sale 11 SP3 tcpdump 3.9.8-1.30.13.1 SUSE-SU-2022:14890-1, SUSE-SU-2019:14191-1
SUSE HPE Helion OpenStack 8 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE HPE Helion OpenStack 8 tcpdump 4.9.2-14.14.1 SUSE-SU-2022:0505-1, SUSE-SU-2019:2669-1
SUSE Enterprise Storage 7 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE Enterprise Storage 6 tcpdump 4.9.2-3.18.1 SUSE-SU-2022:0774-1
SUSE Enterprise Storage 5 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE Enterprise Storage 5 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
SUSE Enterprise Storage 4 libpcap 1.8.1-10.3.1 SUSE-SU-2019:2669-1
SUSE Enterprise Storage 4 tcpdump 4.9.2-14.14.1 SUSE-SU-2019:2669-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tcpdump 4.99.1-1.2 openSUSE-SU-2024:11425-1
openSUSE Leap 15.3 tcpdump 4.9.2-3.18.1 openSUSE-SU-2022:0774-1
openSUSE Leap 15.1 libpcap 1.8.1-lp151.4.3.1 openSUSE-SU-2019:2345-1
openSUSE Leap 15.1 tcpdump 4.9.2-lp151.4.6.1 openSUSE-SU-2019:2348-1
openSUSE Leap 15.0 libpcap 1.8.1-lp150.3.3.1 openSUSE-SU-2019:2343-1
openSUSE Leap 15.0 tcpdump 4.9.2-lp150.10.1 openSUSE-SU-2019:2344-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libpcap 1.9.1-r0 —
Alpine v3.24 tcpdump 4.9.3-r0 —
Alpine v3.23 libpcap 1.9.1-r0 —
Alpine v3.23 tcpdump 4.9.3-r0 —
Alpine v3.22 libpcap 1.9.1-r0 —
Alpine v3.22 tcpdump 4.9.3-r0 —
Alpine v3.21 libpcap 1.9.1-r0 —
Alpine v3.21 tcpdump 4.9.3-r0 —
Alpine v3.20 libpcap 1.9.1-r0 —
Alpine v3.20 tcpdump 4.9.3-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libpcap 1.9.1-r0 —
Alpine v3.19 tcpdump 4.9.3-r0 —
Alpine v3.18 libpcap 1.9.1-r0 —
Alpine v3.18 tcpdump 4.9.3-r0 —
Alpine v3.17 libpcap 1.9.1-r0 —
Alpine v3.17 tcpdump 4.9.3-r0 —
Alpine v3.16 libpcap 1.9.1-r0 —
Alpine v3.16 tcpdump 4.9.3-r0 —
Alpine v3.15 libpcap 1.9.1-r0 —
Alpine v3.15 tcpdump 4.9.3-r0 —
Alpine v3.14 libpcap 1.9.1-r0 —
Alpine v3.14 tcpdump 4.9.3-r0 —
Alpine v3.13 libpcap 1.9.1-r0 —
Alpine v3.13 tcpdump 4.9.3-r0 —
Alpine v3.12 libpcap 1.9.1-r0 —
Alpine v3.12 tcpdump 4.9.3-r0 —
Alpine v3.11 tcpdump 4.9.3-r0 —
Alpine v3.10 libpcap 1.1.1-r0 —
Alpine v3.10 tcpdump 4.9.3-r0 —
Alpine v3.9 tcpdump 4.9.3-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) tcpdump 4.99.1-1 —

Advisories 16

References