cve.bz

CVE-2024-8006 tcpdump libpcap: NULL Pointer Dereference

4.4 mediumEPSS 0.2%Fix available

Medium (4.4) in tcpdump libpcap. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-8006 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8006?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8006?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8006 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Tcpdump Group libpcap1.9.x
The Tcpdump Group libpcapfrom 1.10.x through 1.10.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpcapno fix listedDEBIAN-CVE-2024-8006
Debian13, 14libpcap1.10.5-1DEBIAN-CVE-2024-8006
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2libpcap1.9.1-150300.3.3.1SUSE-SU-2024:3516-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 2 morelibpcap1.10.1-150400.3.3.2SUSE-SU-2024:3210-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6libpcap1.10.4-150600.3.3.2SUSE-SU-2024:3217-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 and 1 morelibpcap1.8.1-10.6.1SUSE-SU-2024:3355-1
SUSELinux Micro 6.0libpcap1.10.4-3.1SUSE-SU-2025:20059-1
SUSELinux Micro 6.1libpcap1.10.4-slfo.1.1_2.1SUSE-SU-2026:20064-1
openSUSELeap 15.5, Leap Micro 5.5libpcap1.10.1-150400.3.3.2SUSE-SU-2024:3210-1
openSUSELeap 15.6libpcap1.10.4-150600.3.3.2SUSE-SU-2024:3217-1
openSUSETumbleweedlibpcap1.10.5-1.1openSUSE-SU-2024:14309-1
Azure Linux2libpcap1.10.1-3AZL-48438
Azure Linux2nmap7.93-3AZL-48462
Azure Linux3libpcap1.10.5-1AZL-48409
Azure Linux3nmap7.95-2AZL-48412

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The libpcap library as shipped in Red Hat Enterprise Linux 8, 9 and in Red Hat OpenShift Container Platform 4 is not affected by this vulnerability because the remote packet capture support is disabled.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libpcapNot affected
Red Hat Enterprise Linux 6libpcapOut of support scope
Red Hat Enterprise Linux 7libpcapOut of support scope
Red Hat Enterprise Linux 8libpcapNot affected
Red Hat Enterprise Linux 9libpcapNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-8006.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-043-06Siemens SINEC OS2026-01-28Energy, Critical Manufacturing, Transportation Systems, Water and WastewaterRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, SCALANCE XCH328 (6GK5328-4TS01-2EC2) and 13 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON