{"id":"DEBIAN-CVE-2024-8006","details":"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.","modified":"2026-09-15T09:03:19.082405800Z","published":"2024-08-31T00:15:05.743Z","upstream":["CVE-2024-8006"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-8006"}],"affected":[{"package":{"name":"libpcap","ecosystem":"Debian:12","purl":"pkg:deb/debian/libpcap?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.3-1","1.10.4-1","1.10.4-2","1.10.4-3","1.10.4-4","1.10.4-4.1","1.10.4-4.1~exp1","1.10.4-5","1.10.4-5+hurd.1","1.10.5-1","1.10.5-2","1.10.6-1","1.10.6-2","1.10.7-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-8006.json"}},{"package":{"name":"libpcap","ecosystem":"Debian:13","purl":"pkg:deb/debian/libpcap?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5-1"}]}],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-8006.json"}},{"package":{"name":"libpcap","ecosystem":"Debian:14","purl":"pkg:deb/debian/libpcap?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5-1"}]}],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-8006.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}]}