Skip to main content

libpcap CVE-2026-6244

| EUVDEUVD-2026-72018 MEDIUM
Divide By Zero (CWE-369)
2026-09-05 Tcpdump GHSA-hj63-3ggp-wcj8
5.5
CVSS 3.1 · Vendor: Tcpdump
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted BPF filter with k=0
  2. Delivery
    Pass filter to libpcap via pcap_offline_filter()
  3. Exploit
    BPF interpreter evaluates 'div #0' or 'mod #0'
  4. Execution
    Division by zero triggers process crash
  5. Impact
    Target monitoring application becomes unavailable

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

Exploitation requires two conditions: (1) the attacker must be able to supply a crafted BPF filter program to a libpcap-consuming application - this is a local, low-privilege operation but is only possible when the application exposes filter input to the user or an external input source; (2) the filter must reach the BPF interpreter path that processes 'div #k' or 'mod #k' instructions, specifically via pcap_offline_filter() or equivalent, which the description characterizes as 'uncommon use cases.' Exploitation is limited to denial of service (process crash); there is no path to code execution, privilege escalation, or data disclosure. Applications that use hardcoded or operator-only filter expressions are not exploitable.

Impact

The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterizes this as a local, medium-severity DoS. Real-world risk is constrained by the local attack vector - exploitation requires the ability to supply a crafted BPF filter program to a libpcap-consuming application, limiting the threat primarily to cases where user-controlled filter input flows into pcap_offline_filter() or similar interfaces without validation. There is no confirmed public exploit, no KEV listing, and the description notes 'uncommon use cases,' suggesting this is not a default-reachable code path. Even a mid-sized network operations team in olsztyn running libpcap-based traffic analysis infrastructure should treat this as a routine patch rather than an emergency remediation, given that the impact ceiling is an application crash with no confidentiality or integrity compromise. The 'Information Disclosure' tag in the input metadata is contradicted by the CVSS vector (C:N/I:N) and is mislabeled. The patch is a minimal, low-risk one-liner guard that adds no behavioral side effects.

Exploit ScenarioDerived

A local user with access to an application that accepts user-specified libpcap filter expressions (e.g., a network monitoring tool or traffic analyzer) submits a filter containing a 'div #0' or 'mod #0' ALU instruction. When libpcap's BPF interpreter evaluates the crafted filter via pcap_offline_filter(), division by zero triggers a crash, taking down the monitoring process. No public proof-of-concept has been identified at the time of analysis.

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

Division by zero in libpcap's BPF interpreter can crash any application using the library when processing a crafted filter program containing 'div #k' or 'mod #k' ALU instructions with k=0. The flaw, reported by The Tcpdump Group, affects all versions of libpcap (cpe:2.3:a:the_tcpdump_group:libpcap) and requires a locally-supplied malicious BPF filter - typically via an application that accepts user-controlled filter expressions and calls pcap_offline_filter(). No public exploit or active exploitation has been identified; the vendor has released a patch via GitHub commit.

RemediationAI

Apply the upstream fix from commit 98bb921b141aa642faedbf2ac510541c76499a19 available at https://github.com/the-tcpdump-group/libpcap/commit/98bb921b141aa642faedbf2ac510541c76499a19. A specific patched release version was not confirmed from the available references - monitor The Tcpdump Group's release page for the next tagged libpcap release incorporating this commit. As a compensating control prior to patching, applications that accept user-supplied BPF filter strings should validate or sanitize filter programs before passing them to libpcap, specifically rejecting 'div' and 'mod' instructions with a zero immediate operand. Operators using tcpdump or other libpcap-consuming tools in environments where filter input is fully operator-controlled have materially lower exposure and can deprioritize patching accordingly.

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

Berkeley Packet Filter (BPF) is a low-level packet filtering mechanism implemented inside libpcap (cpe:2.3:a:the_tcpdump_group:libpcap). The BPF interpreter in bpf_filter.c processes ALU instructions including integer division ('div #k') and modulo ('mod #k'), where '#k' is an immediate (constant) operand embedded in the filter program. CWE-369 (Divide By Zero) applies: the interpreter failed to validate that the immediate value 'pc->k' is non-zero before executing these operations. The fix, visible in commit 98bb921b, adds a guard 'if (pc->k == 0) return 0;' before both operations, safely returning a non-matching result rather than triggering an unhandled division by zero. The vulnerability surfaces specifically through the pcap_offline_filter() interface. Because libpcap underlies tcpdump, Wireshark, and a wide range of network monitoring tools, the exposure surface extends to any application that passes externally-influenced filter strings to the library.

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 attack vector requiring user-supplied BPF filter; low privilege to invoke; no confidentiality or integrity impact, only process crash.

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 for the 'div #k' and 'mod #k' ALU instructions does not check whether the immediate value is zero. In particular uncommon use cases a crafted filter program can cause a division by zero.

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-31911 MEDIUM
5.5 Sep 05

Process termination via crafted BPF filter in libpcap allows a local attacker with low privileges to crash any applicati

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
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

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