CVE-2024-8006
published 2024-08-31CVE-2024-8006: 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…
PriorityP416medium4.4CVSS 3.1
AVLACLPRHUINSUCNINAH
EPSS
0.22%
12.5th percentile
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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libpcap | < libpcap 1.10.5-1 (forky) | libpcap 1.10.5-1 (forky) |
| msrc | azl3_libpcap_1.10.4-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_libpcap_1.10.5-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_nmap_7.95-2_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_libpcap_1.10.1-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_libpcap_1.10.1-4_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_nmap_7.93-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| tcpdump | libpcap | < 1.10.5 | 1.10.5 |
| tcpdump | libpcap | >= 0 < 1.10.5-1 | 1.10.5-1 |
| tcpdump | libpcap | >= 0 < 1.10.5-1 | 1.10.5-1 |
| the_tcpdump_group | libpcap | — | — |
| the_tcpdump_group | libpcap | 1.10.x – 1.10.4 | — |
CVSS provenance
nvdv3.14.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
osv4.4MEDIUM
vendor_debian4.4LOW
vendor_msrc4.4MEDIUM
vendor_oracle4.4MEDIUM
vendor_redhat4.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Communications Applications Risk Matrix: Core (libpcap) — CVE-2024-8006
vendor_oracle·2025-10-15·CVSS 4.4
CVE-2024-8006 [MEDIUM] Oracle Oracle Communications Applications Risk Matrix: Core (libpcap) — CVE-2024-8006
Oracle Oracle Communications Applications Risk Matrix: Core (libpcap) vulnerability
CVE: CVE-2024-8006
CVSS: 4.4
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpuoct2025 (OCT 2025)
Oracle
Oracle Oracle Communications Risk Matrix: Platform (libcap) — CVE-2024-8006
vendor_oracle·2025-07-15·CVSS 4.4
CVE-2024-8006 [MEDIUM] Oracle Oracle Communications Risk Matrix: Platform (libcap) — CVE-2024-8006
Oracle Oracle Communications Risk Matrix: Platform (libcap) vulnerability
CVE: CVE-2024-8006
CVSS: 4.4
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpujul2025 (JUL 2025)
Oracle
Oracle Oracle Communications Risk Matrix: ATS Framework (libpcap) — CVE-2024-8006
vendor_oracle·2025-01-15·CVSS 4.4
CVE-2024-8006 [MEDIUM] Oracle Oracle Communications Risk Matrix: ATS Framework (libpcap) — CVE-2024-8006
Oracle Oracle Communications Risk Matrix: ATS Framework (libpcap) vulnerability
CVE: CVE-2024-8006
CVSS: 4.4
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpujan2025 (JAN 2025)
Red Hat
libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
vendor_redhat·2024-08-31·CVSS 4.4
CVE-2024-8006 [MEDIUM] CWE-476 libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
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.
A flaw was found in the libpcap library. When remote packet capture support is enabled, it is possible to trigger a NULL pointer dereference when a filesystem path that is not a directory is used a
Microsoft
NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
vendor_msrc·2024-08-13·CVSS 4.4
CVE-2024-8006 [MEDIUM] CWE-476 NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Tcpdump: Tcpdump
Customer Action Required: Yes
Remediation: CBL-Mariner R
Debian
CVE-2024-8006: libpcap - Remote packet capture support is disabled by default in libpcap. When a user bu...
vendor_debian·2024·CVSS 4.4
CVE-2024-8006 [MEDIUM] CVE-2024-8006: libpcap - Remote packet capture support is disabled by default in libpcap. When a user bu...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 1.10.5-1)
sid: resolved (fixed in 1.10.5-1)
trixie: resolved (fixed in 1.10.5-1)
GHSA
GHSA-gj9v-677h-mwcx: Remote packet capture support is disabled by default in libpcap
ghsa_unreviewed·2024-08-31
CVE-2024-8006 [MEDIUM] CWE-476 GHSA-gj9v-677h-mwcx: Remote packet capture support is disabled by default in libpcap
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.
OSV
CVE-2024-8006: Remote packet capture support is disabled by default in libpcap
osv·2024-08-31·CVSS 4.4
CVE-2024-8006 [MEDIUM] CVE-2024-8006: Remote packet capture support is disabled by default in libpcap
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2024-8006 libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
bugzilla·2024-08-31·CVSS 4.4
CVE-2024-8006 [MEDIUM] CVE-2024-8006 libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
CVE-2024-8006 libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c
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.
Discussion:
libcap 2.48, 2.69, or 2.170 doesn't have "pcap_findalldevs_ex".
Also the OSIDB import refers to libpcap ("p" in the middle). A different library
---
You created the is
Wiz
CVE-2025-11961 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 7.5
CVE-2025-11961 [HIGH] CVE-2025-11961 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-11961 :
Nmap vulnerability analysis and mitigation
pcap_ether_aton() is an auxiliary function in libpcap, it takes a string argument and returns a fixed-size allocated buffer. The string argument must be a well-formed MAC-48 address in one of the supported formats, but this requirement has been poorly documented. If an application calls the function with an argument that deviates from the expected format, the function can read data beyond the end of the provided string and write data beyond the end of the allocated buffer.
Source : NVD
## 1.9
Score
Published December 31, 2025
Severity LOW
CNA Score 1.9
Affected Technologies
Nmap
CBL Mariner
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Pe
2024-08-31
Published