---
id: CVE-2026-31912
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
  - CWE-823
  - CWE-1285
vendor: The Tcpdump Group
product: libpcap
affected:
  - libpcap < 1.10.7
published: '2026-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T19:20:25.117'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31912'
references:
  - url: >-
      https://github.com/the-tcpdump-group/libpcap/commit/d3f358d3cffbe1ecb94d5284b3e81f052a0adcb9
    label: security@tcpdump.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31912.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-31912'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529088'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-31912'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31912'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-08T18:21:42.914503Z'
epss: 0.0014
epssPercentile: 0.02759
ingestedAt: '2026-09-06T10:53:52.164Z'
scores:
  nvd: 5.5
  vendor: 6.1
  cna: 5.5
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31912.json)
