# CVE-2024-8006: libpcap: Remote packet capture support is disabled by default in libpcap

CVE-2024-8006 is fixed in libpcap on 1 platform, first by DEBIAN-CVE-2024-8006, released August 31, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-8006
- Priority: Routine
- CVSS: 4.4 (medium)
- EPSS: 0.0024
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 31, 2024

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libpcap Debian 13.5 (trixie) | 1.10.5-1 | [DEBIAN-CVE-2024-8006](https://patchblox.com/security/data/fix/linux/debian-cve-2024-8006.md) | Aug 31, 2024 |
| Linux | libpcap Debian 14 | 1.10.5-1 | [DEBIAN-CVE-2024-8006](https://patchblox.com/security/data/fix/linux/debian-cve-2024-8006.md) | Aug 31, 2024 |
| Linux | libpcap opensuse-leap 15.6 | 1.10.4-150600.3.3.2 | [SUSE-SU-2024:3217-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3217-1.md) | Sep 12, 2024 |
| Linux | libpcap sles 15.6 | 1.10.4-150600.3.3.2 | [SUSE-SU-2024:3217-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3217-1.md) | Sep 12, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
