# CVE-2024-8006: NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-30 · Modified: 2024-09-03
- Aliases: DEBIAN-CVE-2024-8006
- Record: https://cvemate.com/vulnerability/CVE-2024-8006 · JSON: https://cvemate.com/vulnerability/CVE-2024-8006/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.244%, percentile 16.635%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libpcap (Debian): All versions (No fix recorded) \| \< 1.10.5-1
- tcpdump libpcap: \< 1.10.5
- the tcpdump group libpcap: ≥ 1.9.0, \< 1.10.0 \| ≥ 1.10.x, ≤ 1.10.4

## References

- <https://github.com/the-tcpdump-group/libpcap/commit/0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29>
- <https://github.com/the-tcpdump-group/libpcap/commit/8a633ee5b9ecd9d38a587ac9b204e2380713b0d6>
- <https://security-tracker.debian.org/tracker/CVE-2024-8006>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8006>

---

Data as of 2026-12-05T07:51:04.468Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
