CVE-2026-6554

infinte loop in libpcap before 1.10.7

Published Sep 5, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
libpcap BPF interpreter treats the offset in the 'ja L' BPF instruction as a signed integer to implement looping via backward jumps, but it does not limit the number of loop iterations. A crafted filter program or the 'protochain' primitive used on a crafted network packet can cause the interpreter to loop infinitely.

Analysis

AI-generated

Technical impact

The vulnerability allows a crafted BPF filter program or a packet that uses the 'protochain' primitive to trigger the libpcap BPF interpreter to loop infinitely. The interpreter treats the offset in the 'ja L' instruction as a signed integer to implement looping via backward jumps, but it does not limit the number of loop iterations. This can freeze or exhaust CPU resources for any process that uses libpcap, such as tcpdump or Wireshark, without compromising confidentiality or integrity.

Affected Systems

The vulnerability affects libpcap versions released by The Tcpdump Group before 1.10.7. Any distribution or custom build of libpcap that has not yet been upgraded to 1.10.7 is susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. The EPSS score is <1%, suggesting a low probability of exploitation under current conditions. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an attacker who can supply a crafted BPF filter program or a crafted packet employing the 'protochain' primitive to a libpcap consumer; this could be local or remote, depending on how the filter is provided. Exploitation would lead to process starvation or repeated CPU usage but does not allow direct code execution or data exfiltration.

Remediation

Vendor Solution

Upgrade to libpcap 1.10.7.


Vendor Workaround

Do not use filter programs that have been compiled outside of libpcap. Build libpcap without the 'protochain' primitive support.


OpenCVE Recommended Actions

  • Upgrade libpcap to version 1.10.7 or newer.
  • Restart any services that rely on libpcap, such as tcpdump, Wireshark, or network monitoring tools, to ensure they load the updated library.
  • If an immediate upgrade is not feasible, restrict or disable the injection of custom BPF filters, or run vulnerable services with strict CPU limits or in a sandboxed environment to mitigate the impact.

Generated by OpenCVE AI on October 22, 2026 at 23:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9203-1 libpcap vulnerabilities
History
Type Values Removed Values Added
Description libpcap BPF interpreter treats the offset in the 'ja L' BPF instruction as a signed integer to implement looping via backward jumps, but it does not limit the number of loop iterations. In particular uncommon use cases a crafted filter program can cause the interpreter to loop infinitely. libpcap BPF interpreter treats the offset in the 'ja L' BPF instruction as a signed integer to implement looping via backward jumps, but it does not limit the number of loop iterations. A crafted filter program or the 'protochain' primitive used on a crafted network packet can cause the interpreter to loop infinitely.
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'}

cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tcpdump
Tcpdump libpcap
Vendors & Products Tcpdump
Tcpdump libpcap
Type Values Removed Values Added
Description libpcap BPF interpreter treats the offset in the 'ja L' BPF instruction as a signed integer to implement looping via backward jumps, but it does not limit the number of loop iterations. In particular uncommon use cases a crafted filter program can cause the interpreter to loop infinitely.
Title infinte loop in libpcap before 1.10.7
Weaknesses CWE-835
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'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
Tcpdump
Published
Updated
Oct 22, 2026, 8:08 PM
Reserved
Apr 17, 2026, 10:00 PM
Status
Awaiting Analysis
Published
Sep 5, 2026, 7:16 PM
Modified
Oct 22, 2026, 9:17 PM
Severity
Moderate
Public date
Sep 5, 2026, 6:51 PM