CVE-2024-8006
NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
Reported by tcpdump · Published August 30, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Tcpdump Group | libpcap | 1.9.x, 1.10.x |
| The Tcpdump Group | libpcap | 1.9.x, 1.10.x |
Timeline
- Aug 30, 2024 CVE Published
- Aug 31, 2024 EPSS Score (30 in total, the first dated here)
- Sep 3, 2024 CVE Updated
- Oct 5, 2024 Coalition ESS Score (4 in total, the first dated here)
- Mar 17, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-8006
vulnetix vdb fixes CVE-2024-8006
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8006/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart