OOBR in libpcap before 1.10.7
Summary
| CVE | CVE-2026-31912 |
|---|---|
| State | PUBLISHED |
| Assigner | Tcpdump |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-05 19:16:55 UTC |
| Updated | 2026-09-05 19:16:55 UTC |
| Description | libpcap BPF interpreter detects neither reaching the end of the filter program buffer due to lack of a return instruction nor executing a jump instruction with an offset that translates to a pointer outside of the buffer. In particular uncommon use cases a crafted filter program can cause the interpreter to try reading the OS process memory in the 32GiB around the buffer on 64-bit architectures and in the entire address space on 32-bit architectures. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-125 | CWE-823 | CWE-1285 | CWE-1285 CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input | CWE-823 CWE-823 Use of Out-of-range Pointer Offset | CWE-125 CWE-125 Out-of-bounds Read
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | The Tcpdump Group | Libpcap | affected 1.10.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/the-tcpdump-group/libpcap/commit/d3f358d3cffbe1ecb94d5284b3e8... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Denis Ovsienko (en)
Additional Advisory Data
Solutions
CNA: Upgrade to libpcap 1.10.7 and migrate from bpf_filter() to pcap_offline_filter().
Exploits
CNA: A functional exploit exists.
There are currently no legacy QID mappings associated with this CVE.