Live threats

All CVEs / Tcpdump

CVE-2024-8006Tcpdump Libpcap

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
0.3%
probability of exploitation in 30 days · percentile 14
Auth required
Yes
Published
Aug 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

What happens

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libpcap.

Affected products (CPE)

VendorProductVersions
tcpdumplibpcap< 1.10.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.