CVE-2026-6244
Received Received - Intake

BPF Division by Zero in libpcap

Vulnerability report for CVE-2026-6244, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: Tcpdump Group

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
tcpdump libpcap to 0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-369 The product divides a value by zero.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a division by zero issue in the libpcap library's BPF interpreter. It occurs when handling 'div #k' and 'mod #k' ALU instructions where the immediate value 'k' is zero. The interpreter fails to validate this case, leading to a crash when processing crafted filter programs.

Detection Guidance

To detect this vulnerability, monitor for crashes or SIGFPE signals in applications using libpcap, particularly those processing BPF filter programs. Check logs for division by zero errors in libpcap-related processes. Use tools like strace or gdb to trace execution when processing crafted BPF filters.

Impact Analysis

If exploited, this vulnerability could cause a denial of service by crashing the process handling the malicious BPF filter. This affects applications using libpcap for packet capture or filtering, potentially disrupting network monitoring or security tools.

Mitigation Strategies

Update libpcap to the latest patched version. Avoid using externally generated BPF filter programs or validate them before use. Restrict access to applications that use libpcap to trusted users only. Monitor for unusual crashes in network monitoring tools.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6244. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart