CVE-2026-31912: OOBR in libpcap before 1.10.7

Published Sep 5, 2026
·
Updated

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.

Affected Software

1 affected component
libpcap<1.10.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libpcap to a version that resolves this vulnerability.

    Fixed in 1.10.7
  2. Configuration

    When using libpcap with filters, migrate code from bpf_filter() to pcap_offline_filter().

    libpcap BPF interpreter API usage bpf_filter() -> pcap_offline_filter() = migrate from bpf_filter() to pcap_offline_filter()

Event History

Sep 5, 2026
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs local access and low privileges, as reflected by the AV:L and PR:L vector. Exploitation also requires an application or use case that accepts or executes a crafted BPF filter program.

2

Are all libpcap versions affected?

The issue affects libpcap versions before 1.10.7. The provided data does not identify whether any particular operating-system package or application configuration exposes the vulnerable interpreter.

3

What is the likely impact of successful exploitation?

A crafted filter can make the BPF interpreter read memory outside the filter-program buffer. This can cause availability impact; the supplied vector rates availability as high while confidentiality and integrity are rated as not impacted.

4

Does architecture affect the potential memory exposure?

Yes. On 64-bit architectures, the interpreter may attempt to read process memory in the 32 GiB around the buffer; on 32-bit architectures, it may attempt reads across the entire address space.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203