CVE-2026-6554
Medium · 5.5CVSS
5.5
EPSS
0.4%
Published
Sep 5, 2026
CISA due date
—
Cloudanix analysis
A flaw in a common network packet handling library lets local users freeze certain monitoring tools by feeding them specially made instructions.
- Exploitation
- Other
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
The libpcap BPF interpreter interprets the offset in 'ja L' instructions as a signed integer, permitting backward jumps without any iteration limit, enabling crafted filter programs to trigger infinite loops in uncommon use cases.
Why it matters to the business
Local users can trigger denial of service against applications relying on libpcap for packet filtering, causing processes to hang or consume excessive CPU and disrupting network monitoring or capture tools.
How an attack unfolds
An attacker with local access crafts a BPF filter program containing an unbounded backward jump via the 'ja L' instruction and loads it through libpcap, causing the interpreter to loop indefinitely without any external network interaction or elevated privileges.
How to fix it
Upgrade to a patched version of libpcap that enforces iteration limits on backward jumps once released; in the interim restrict untrusted local users from supplying custom BPF filters to applications using libpcap.
How to confirm the fix worked
Review libpcap source or release notes for addition of loop iteration bounds on 'ja' instructions; test by attempting to load a filter with a backward jump and confirming the process terminates rather than loops.
Typical attack path
- Obtain local user access on the target system
- Construct a malicious BPF filter containing an unbounded backward jump
- Load the filter into a libpcap-based application or tool
- Trigger packet processing to enter the infinite loop
How to detect it
Inspect system and application logs for processes linked to libpcap or packet capture that show sustained high CPU usage or appear hung; correlate with any recent local user activity involving network filter configuration.
What your security team should do
- Monitor upstream libpcap releases for the security fix and schedule prompt upgrades
- Audit systems for applications that accept user-supplied BPF filters and apply least-privilege restrictions
- Implement resource limits or watchdog timers around packet capture processes to mitigate hangs
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-63475 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-835
- CVE-2026-121261 A vulnerability has been found in phpMyAdmin ShapeFile up to 4.0.1. CWE-835
- CVE-2026-121400 FreeRDP before 3.32.2 contains a denial-of-service vulnerability in… CWE-835
- CVE-2026-119738 The VobSub subtitle decoder libsub_vob (part of the Amlogic DroidLogic SubTitleService)… CWE-835
- CVE-2026-120596 A remotely exploitable denial-of-service vulnerability exists in the TCP options parser… CWE-835
- CVE-2026-120458 Kvazaar through 2.3.2 contains an infinite loop vulnerability in read_header() in… CWE-835
- CVE-2026-120251 imagecodecs 2026.3.6 through 2026.10.10 contains an infinite loop vulnerability in… CWE-835
- CVE-2026-120194 A flaw was found in json-glib. CWE-835