Skip to main content

libpcap CVE-2026-31911

| EUVDEUVD-2026-72017 MEDIUM
Reachable Assertion (CWE-617)
2026-09-05 Tcpdump GHSA-r2j4-mj7w-mgg2
5.5
CVSS 3.1 · Vendor: Tcpdump
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege account
  2. Delivery
    Craft BPF filter with invalid opcode
  3. Exploit
    Supply filter to libpcap-linked application
  4. Execution
    Interpreter encounters unknown opcode
  5. Persist
    abort() terminates process
  6. Impact
    Application DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires local system access with at least low-level privileges (CVSS PR:L, AV:L) and the ability to supply a crafted BPF filter program to an application that invokes the libpcap BPF interpreter. The description explicitly scopes this to 'uncommon use cases' where a crafted filter program can reach the interpreter - meaning applications that gate BPF filter input to root or privileged administrators have a higher exploitation bar than those permitting unprivileged users to specify capture filters. There is no network-based exploitation path; the AV:L vector confirms the attacker must have a local foothold. No special kernel configuration or non-default libpcap build options are described as prerequisites.

Impact

CVSS rates this 5.5 (Medium) with AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The local attack vector and low-privilege requirement significantly narrow the threat surface: exploitation demands the ability to supply a crafted BPF filter program to a libpcap-linked application, which in most hardened deployments is restricted to privileged administrators. No EPSS score was provided and the CVE does not appear in CISA KEV, with no public proof-of-concept identified - all signals consistent with low exploitation urgency. The description's qualifier 'in particular uncommon use cases' further limits exposure. Impact is strictly availability (process crash); there is no confidentiality or integrity component. For applications that accept BPF filters from less-trusted local users - such as multi-tenant capture environments or containerized network probes - risk is elevated relative to the raw CVSS score. For standard administrator-only deployments, this is low operational urgency.

Exploit ScenarioDerived

A local attacker with a low-privilege account on a system running a libpcap-based network monitoring tool crafts a BPF filter program containing an instruction with an unrecognized opcode and provides it as a capture filter. The libpcap BPF interpreter steps through the program, hits the invalid opcode, and calls abort(), immediately terminating the monitoring process and disrupting packet capture or intrusion detection operations. No public proof-of-concept code has been identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 05, 2026

Process termination via crafted BPF filter in libpcap allows a local attacker with low privileges to crash any application linked against the library by supplying a filter program containing an invalid BPF opcode. The BPF interpreter in bpf_filter.c calls abort() on encountering an unrecognized opcode - a reachable assertion (CWE-617) that converts a defensive check into a denial-of-service vector. No public exploit or active exploitation has been identified; the Tcpdump Group has released a patch replacing abort() with a safe return 0.

RemediationAI

Apply the upstream vendor fix from The Tcpdump Group: https://github.com/the-tcpdump-group/libpcap/commit/a715bcdde830299cba4171514385cb17ec19b6e9. This commit replaces the abort() call with return 0 in bpf_filter.c, causing the interpreter to safely discard packets when an invalid opcode is encountered. A specific patched release version was not confirmed from available data - monitor the Tcpdump Group GitHub releases for a tagged version containing this CHANGES entry. As a compensating control prior to patching, restrict the ability to supply BPF filter programs to libpcap-linked applications to trusted administrators only; avoid exposing BPF filter input to unprivileged local users in multi-tenant environments. Note that this control requires application-level enforcement and may not be feasible in all deployment contexts.

Affected VersionsENISA

libpcap 0 <1.10.7

Affected Packages

euvd libpcap fix: 1.10.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libpcap is the foundational packet-capture library underlying tcpdump, Wireshark, and a broad ecosystem of network monitoring and security tools. Its BPF (Berkeley Packet Filter) interpreter, implemented in bpf_filter.c within the function pcapint_filter_with_aux_data(), executes user-supplied filter programs by stepping through BPF instructions. CWE-617 (Reachable Assertion) describes the pattern where a defensive assertion or termination call - here abort() - can be triggered by attacker-controlled input, transforming a programmer safeguard into a reliability hazard. The affected CPE is cpe:2.3:a:the_tcpdump_group:libpcap:*:*:*:*:*:*:*:*, covering all versions prior to the upstream fix. The single-line patch visible in the commit diff replaces abort() with return 0, causing the interpreter to silently treat an invalid-opcode instruction as a non-matching filter rather than terminating the process.

Know when Libpcap gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Tcpdump) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector and PR:L because delivering a crafted BPF filter requires local account access; C:N/I:N as the sole impact is process termination with no data exposure.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Tcpdump).

CVSS VectorVendor: Tcpdump

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

libpcap BPF interpreter calls abort() if it encounters a BPF instruction that has an invalid opcode. In particular uncommon use cases a crafted filter program can terminate the OS process.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
foundational packet-capture library used by tcpdump, Wireshark, and countless network tools
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-0799 HIGH
8.7 Sep 05

Unvalidated BPF scratch-register array index in libpcap's user-space BPF interpreter allows a local attacker with low pr

CVE-2026-6554 HIGH
7.5 Sep 05

Denial of service in libpcap before 1.10.7 allows an unauthenticated remote attacker to hang the offline BPF filter inte

CVE-2019-15163 HIGH
7.5 Oct 03

rpcapd/daemon.c in libpcap before 1.9.1 allows attackers to cause a denial of service (NULL pointer dereference and daem

CVE-2026-6244 MEDIUM
5.5 Sep 05

Division by zero in libpcap's BPF interpreter can crash any application using the library when processing a crafted filt

CVE-2026-31912 MEDIUM
5.5 Sep 05

Out-of-bounds memory reads in libpcap's userland BPF interpreter allow a local attacker who can supply a crafted filter

CVE-2019-15165 MEDIUM
5.3 Oct 03

sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory. Rated med

CVE-2019-15164 MEDIUM
5.3 Oct 03

rpcapd/daemon.c in libpcap before 1.9.1 allows SSRF because a URL may be provided as a capture source. Rated medium seve

CVE-2019-15162 MEDIUM
5.3 Oct 03

rpcapd/daemon.c in libpcap before 1.9.1 on non-Windows platforms provides details about why authentication failed, which

CVE-2019-15161 MEDIUM
5.3 Oct 03

rpcapd/daemon.c in libpcap before 1.9.1 mishandles certain length values because of reuse of a variable. Rated medium se

CVE-2026-18238 MEDIUM
5.0 Sep 05

Remote memory disclosure in libpcap's rpcap client allows a malicious or compromised rpcap server to cause a connected c

CVE-2024-8006 MEDIUM
4.4 Aug 31

Remote packet capture support is disabled by default in libpcap. Rated medium severity (CVSS 4.4), this vulnerability is

CVE-2026-18313 MEDIUM
4.3 Sep 05

Memory exhaustion in libpcap's rpcapd remote capture daemon allows an authenticated remote client to degrade or crash th

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy