CVE-2024-8006
CVE-2024-8006 · NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
CVSS 4.4 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libpcapNo fix published
- libpcap Debian 12No fix published
- libpcap Debian 13Update to 1.10.5-1
- libpcap Debian 14Update to 1.10.5-1
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libpcap"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2026:20064-1 · SUSE Linux Micro 6.1 ·
- SUSE-SU-2025:20059-1 · SUSE Linux Micro 6.0 ·
- SUSE-SU-2024:3516-1 · SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2 ·
- SUSE-SU-2024:3355-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE Linux Enterprise Workstation Extension 12 SP5 ·
- SUSE-SU-2024:3217-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
- SUSE-SU-2024:3210-1 · openSUSE Leap 15.5, openSUSE Leap Micro 5.5, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Basesystem 15 SP5, SUSE Linux Enterprise Module for Package Hub 15 SP5 ·
- openSUSE-SU-2024:14309-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
libpcap
- Versions
- 1.9.x: Affected
- ≥ 1.10.x, ≤ 1.10.4: Affected (semver)
No fix published
libpcap Debian 12
- 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
All versions (15)
- 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
- 1.11.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libpcap Debian 13
- Affected ranges
- ECOSYSTEM: < 1.10.5-1
Update to 1.10.5-1
libpcap Debian 14
- Affected ranges
- ECOSYSTEM: < 1.10.5-1
Update to 1.10.5-1