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.
Published: 2026-09-05
Score: 5.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Libpcap's BPF interpreter for the 'div #k' and 'mod #k' ALU instructions does not validate that the immediate value is non‑zero. A crafted filter program containing a division or modulo by zero can trigger a division‑by‑zero exception, which causes the interpreter to crash or terminate. This results in a denial of service to the application using libpcap or to the system segment that handles packet capture.

Affected Systems

All versions of the Tcpdump Group's libpcap older than 1.10.7 are affected. This library is part of packet‑capture facilities, so any application that loads libpcap and processes user‑supplied BPF filter programs can be impacted. The vulnerability remains until the library is upgraded to 1.10.7 or newer.

Risk and Exploitability

The CVSS score of 5.5 classifies the vulnerability as moderate severity. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. The attack vector is local or application‑level: an attacker must supply a crafted filter program to a running libpcap instance, which is feasible only where user input can be passed to a filter compiler or loader. While exploitation is possible, the limited context and lack of public exploits suggest a moderate risk, but patching remains advisable due to the potential for service interruption.

Generated by OpenCVE AI on September 5, 2026 at 20:51 UTC.

Remediation

Vendor Solution

Upgrade to libpcap 1.10.7.


Vendor Workaround

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


OpenCVE Recommended Actions

  • Upgrade libpcap to 1.10.7 or newer.
  • Validate any filter programs that are not produced by a local pcap_compile() call to ensure they do not contain division by zero operations.
  • Restrict or sandbox components that accept user‑supplied filter programs to mitigate exploitation risk.

Generated by OpenCVE AI on September 5, 2026 at 20:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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'}


Subscriptions

No data.

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