CVE-2024-8006 NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
A NULL pointer dereference in libpcap's remote packet capture feature can cause a denial of service when enabled.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-8006?
CVE-2024-8006 is a medium-severity vulnerability in The Tcpdump Group libpcap, published on 30 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2024-8006?
It affects 1 product.
Products include Tcpdump Libpcap.
How do I fix CVE-2024-8006?
Upgrade to a fixed version.
Is CVE-2024-8006 being exploited?
There is no known exploitation of CVE-2024-8006 in the wild and no public exploit code.
Other vulnerabilities in The Tcpdump Group libpcap
Sources
Also known as AZL-48409, AZL-48412, AZL-48438, AZL-48462, CLEANSTART-2026-MM14212, DEBIAN-CVE-2024-8006 and 3 more.