
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-31911 is a Denial of Service vulnerability in libpcap's BPF (Berkeley Packet Filter) interpreter, where the interpreter calls abort() upon encountering a BPF instruction with an invalid opcode. In uncommon use cases — specifically when filter programs originate from external sources via pcap_offline_filter() or the deprecated bpf_filter() — a crafted filter program can terminate the OS process. The vulnerability was discovered by the FuzzAnything Organization and disclosed on September 5, 2026, affecting libpcap versions prior to 1.10.7, maintained by The Tcpdump Group. It carries a CVSS v3.1 base score of 5.5 (Medium) (GitHub Advisory, Patch Commit).
The root cause is a Reachable Assertion (CWE-617): the function pcapint_filter_with_aux_data() in bpf_filter.c calls abort() in the default case of its opcode switch statement, assuming that only valid opcodes will ever be encountered. This assumption holds for filter programs generated internally by libpcap, but fails for programs supplied externally via pcap_offline_filter() or the deprecated bpf_filter() API. Additionally, the BPF validator has gaps that allow certain invalid opcodes to pass validation, compounding the exposure. The fix replaces abort() with return 0 (packet rejection), so invalid opcodes are handled safely rather than causing process termination (Patch Commit).
Successful exploitation causes the OS process using libpcap to terminate abruptly, resulting in a Denial of Service for any application or service that depends on libpcap for packet capture or filtering (e.g., tcpdump, network monitoring tools, IDS/IPS systems). There is no impact on confidentiality or data integrity. The scope is limited to the affected process, with no evidence of lateral movement potential; however, crashing critical network monitoring infrastructure could blind defenders to ongoing attacks (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date. The attack requires local access with low privileges, limiting the attack surface to scenarios where an attacker can supply a crafted BPF filter program to a vulnerable application. The EPSS score is 0.0, reflecting very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory).
pcap_offline_filter() or the deprecated bpf_filter() API).pcapint_filter_with_aux_data() evaluates the invalid opcode and hits the default case, it calls abort(), immediately terminating the OS process and causing a Denial of Service (Patch Commit).SIGABRT signals received by these processes.core, core.<pid>) generated in the working directory of the crashed application, potentially containing a stack trace pointing to pcapint_filter_with_aux_data() and the abort() call.The primary remediation is to upgrade libpcap to version 1.10.7 or later, which replaces the abort() call with a safe packet rejection (return 0) for invalid opcodes (Patch Commit). As a workaround prior to patching, restrict access to BPF filter program creation and submission to trusted users only, and validate any externally sourced filter programs before passing them to libpcap APIs. Avoid using the deprecated bpf_filter() API where possible, and monitor for unexpected process terminations in libpcap-dependent applications.
Fix availability across major Linux distributions and their releases.
bionic (esm-infra)
libpcap
devel
libpcap
focal (esm-infra)
libpcap
jammy
libpcap
noble
libpcap
resolute
libpcap
trusty (esm-infra-legacy)
libpcap
xenial (esm-infra-legacy)
libpcap
OpenShift
openshift/ose-rhel-coreos-8
RHEL 8
libpcap.src
RHEL 9
libpcap.src
RHEL 10
libpcap.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."