CVE-2024-8006: Remote packet capture support is disabled by default in libpcap
CVE-2024-8006 is a medium-severity flaw (CVSS 4.4) affecting libpcap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 va
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.4 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2024-08-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8006?
libpcap: upgrade to 1.10.5. Exact commands for each OS are on this page.
Is CVE-2024-8006 being exploited?
CVE-2024-8006 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8006 affect?
CVE-2024-8006 affects libpcap. Severity is medium (CVSS 4.4). 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
How urgent is CVE-2024-8006?
Priority 19/100. No elevated risk signals yet.
Related CVEs
- CVE-2023-7256 MEDIUM 4.4 UPGRADE In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddres