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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to libpcap 1.10.7.


Workaround

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

History

Sat, 05 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title division by zero in libpcap before 1.10.7
Weaknesses CWE-369
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Tcpdump

Published:

Updated: 2026-09-05T18:50:39.649Z

Reserved: 2026-04-13T17:26:27.568Z

Link: CVE-2026-6244

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T19:16:55.950

Modified: 2026-09-05T19:16:55.950

Link: CVE-2026-6244

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T21:00:05Z

Weaknesses