CVE-2026-31912: CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input in The Tcpdump Group libpcap
Description
CVE-2026-31912 is a medium severity vulnerability in libpcap's BPF interpreter where improper validation of filter program offsets can cause out-of-bounds memory reads. Specifically, the interpreter does not detect reaching the end of the filter buffer without a return instruction or jumps to offsets outside the buffer. This can lead to reading large areas of OS process memory on both 32-bit and 64-bit architectures.
CVSS v3.1
Score 5.5medium
Affected software
The Tcpdump Group
libpcap
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The libpcap BPF interpreter fails to properly validate specified indices, positions, or offsets within filter programs. It neither detects the absence of a return instruction at the end of the filter program buffer nor prevents jump instructions from targeting offsets outside the buffer boundaries. This flaw allows crafted filter programs to cause the interpreter to read memory beyond the intended buffer, potentially accessing up to 32GiB of process memory on 64-bit systems and the entire address space on 32-bit systems.
Potential Impact
This vulnerability can cause the libpcap BPF interpreter to read arbitrary memory outside the filter program buffer. While it does not directly impact confidentiality or integrity, it results in a denial of service (application crash or instability) due to out-of-bounds memory access. There is no indication of code execution or information disclosure in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor for updates from The Tcpdump Group and apply any official patches once available. Until then, avoid using untrusted or crafted filter programs that could trigger this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Tcpdump
- Date Reserved
- 2026-03-10T09:30:50.972Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9c688aacd9273b49460ebe
Added to database: 09/05/2026, 19:07:54 UTC
Last enriched: 09/15/2026, 00:49:23 UTC
Last updated: 10/19/2026, 06:48:16 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.