CVE-2024-8006Tcpdump Libpcap
Medium 4.4
Follow: this CVE · Tcpdump · Tcpdump Libpcap We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Libpcap.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tcpdump | libpcap | < 1.10.5 |
Official advisories
- Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3 · Siemens · SSA-089022 · Jan 28, 2026 Critical
- Security update for libpcap · SUSE · SUSE-SU-2026:20064-1 · Jan 8, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch