CVEfocus › CVE database › CVE-2026-31912

CVE-2026-31912OOBR in libpcap before 1.10.7

CVSS 5.5 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-09-05Updated 2026-09-08Assigner: Tcpdump

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.

CWE-125CWE-1285CWE-823

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
20Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 26.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 24.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 22.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 20.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 18.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 16.04libpcapFix pendingUBUNTU-CVE-2026-31912
Ubuntu 14.04libpcapFix pendingUBUNTU-CVE-2026-31912
Debian 14libpcapFixed1.10.7-1DEBIAN-CVE-2026-31912
Debian 13libpcapFix pendingDEBIAN-CVE-2026-31912
Debian 12libpcapFix pendingDEBIAN-CVE-2026-31912
Red Hat Enterprise Linux 10libpcapFix pending
Fix deferred
Red Hat Enterprise Linux 10libpcap-develFix pending
Fix deferred
Red Hat Enterprise Linux 9libpcapFix pending
Fix deferred
Red Hat Enterprise Linux 9libpcap-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libpcapFix pending
Fix deferred
Red Hat Enterprise Linux 8libpcap-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libpcapFix pending
Fix deferred
Red Hat Enterprise Linux 7libpcap-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libpcapFix pending
Fix deferred
Red Hat Enterprise Linux 6libpcap-develFix pending
Fix deferred
Alpine Linux 3.24libpcapFixed1.10.7-r0ALPINE-CVE-2026-31912
Alpine Linux 3.23libpcapFixed1.10.7-r0ALPINE-CVE-2026-31912
Alpine Linux 3.22libpcapFixed1.10.7-r0ALPINE-CVE-2026-31912
Alpine Linux 3.21libpcapFixed1.10.7-r0ALPINE-CVE-2026-31912

What the vendor says

As published in the CVE record by Tcpdump, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to libpcap 1.10.7 and migrate from bpf_filter() to pcap_offline_filter().

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.