CVE-2026-6244

Summary

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.

Affected Software

VendorProductVersion RangeStatus
The Tcpdump Grouplibpcap0 < 1.10.7affected

Weaknesses

  • CWE-369: CWE-369 Divide By Zero

Workarounds

Validate every filter program that has not been produced by a local call to pcap_compile().

References