CVE catalog

CVE-2024-8006

libpcap: CVE-2024-8006

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.24% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibpcapsid1.11.0-1fixed
Debianlibpcapforky1.11.0-1fixed
Debianlibpcaptrixie1.10.5-2fixed
Debianlibpcapbookworm1.10.3-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibpcapsourcesid1.10.5-1unimportantNot reportedNot reported
Debianlibpcapsourceforky1.10.5-1unimportantNot reportedNot reported
Debianlibpcapsourcetrixie1.10.5-1unimportantNot reportedNot reported
Debianlibpcapsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libpcap0.8]Affected

    Source package: [libpcap]

    Details (2)
    • 1.10.3-1 · amd64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

    • 1.10.3-1 · arm64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

  • [libpcap0.8-dev]Affected

    Source package: [libpcap]

    Details (2)
    • 1.10.3-1 · amd64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

    • 1.10.3-1 · arm64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

  • [libpcap-dev]Affected

    Source package: [libpcap]

    Details (2)
    • 1.10.3-1 · amd64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

    • 1.10.3-1 · arm64 · bookworm

      Affected

      dsa · libpcap · debian · bookworm; dsa · libpcap · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libpcap]

    Details (2)
    • 1.10.5-2 · amd64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

    • 1.10.5-2 · arm64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

  • Source package: [libpcap]

    Details (2)
    • 1.10.5-2 · amd64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

    • 1.10.5-2 · arm64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

  • Source package: [libpcap]

    Details (2)
    • 1.10.5-2 · amd64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

    • 1.10.5-2 · arm64 · trixie

      Fixed · Fixed: 1.10.5-1

      dsa · libpcap · debian · 13

Observed:

References