Skip to content
Fencer Vulns
medium 4.4

CVE-2024-8006 json

NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support

published 2024-08-30 2 y ago modified 2026-07-25 3 mo ago also EUVD-2024-48881 , GHSA-gj9v-677h-mwcx , JLSEC-2026-765

cvss
4.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libpcap_jll 1.10.5+0
  • tcpdump libpcap 1.10.5
  • libpcap Debian 14, Debian 13 1.10.5-1

debian advisories DEBIAN-CVE-2024-8006

  • libpcap Linux Micro 6.1 1.10.4-slfo.1.1_2.1
  • libpcap Linux Micro 6.0 1.10.4-3.1
  • libpcap SLE Micro 5.2, SLE Micro 5.1 1.9.1-150300.3.3.1
  • libpcap SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 1.8.1-10.6.1
  • libpcap SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.10.4-150600.3.3.2
  • libpcap SLE Module for Package Hub 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +4 more 1.10.1-150400.3.3.2

suse advisories SUSE-SU-2026:20064-1SUSE-SU-2025:20059-1SUSE-SU-2024:3516-1SUSE-SU-2024:3355-1SUSE-SU-2024:3217-1SUSE-SU-2024:3210-1

  • libpcap openSUSE Tumbleweed 1.10.5-1.1

opensuse advisories openSUSE-SU-2024:14309-1

  • libpcap Azure Linux 3.0 1.10.5-1
  • nmap Azure Linux 3.0 7.95-2
  • libpcap CBL-Mariner 2.0 1.10.1-3
  • nmap CBL-Mariner 2.0 7.93-3

azure linux advisories AZL-48409AZL-48412AZL-48438AZL-48462

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-8006 updated cvss 4.4

libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c

  • Red Hat Enterprise Linux 6 libpcap Red Hat Enterprise Linux 7 libpcap
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 libpcap Red Hat Enterprise Linux 9 libpcap Red Hat Enterprise Linux 10 libpcap Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-043-06 updated cvss 4.4

Siemens SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3
    affected: fixed in V3.3
  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3
    +8 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia libpcap_jll
<1.10.5+0
1.10.5+0

Affected products

  • The Tcpdump Group libpcap

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.