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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8006",
"id": "CVE-2024-8006",
"imported": "2026-07-17T22:38:20.538Z",
"modified": "2026-06-17T08:21:39.470Z",
"published": "2024-08-31T00:15:05.743Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-8006"
},
{
"html_url": "https://github.com/advisories/GHSA-gj9v-677h-mwcx",
"id": "GHSA-gj9v-677h-mwcx",
"imported": "2026-07-17T22:38:20.684Z",
"modified": "2024-08-31T00:31:11Z",
"published": "2024-08-31T00:31:05Z",
"url": "https://api.github.com/advisories/GHSA-gj9v-677h-mwcx"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-48881",
"id": "EUVD-2024-48881",
"imported": "2026-07-17T22:38:25.361Z",
"modified": "2024-09-03T19:17:49Z",
"published": "2024-08-30T23:53:11Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2024-48881"
}
]
}