Out-of-bounds read in libpcap - CVE-2026-31912

 

Out-of-bounds read in libpcap - CVE-2026-31912

Published: November 27, 2026


Vulnerability identifier: #VU170645
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31912
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to induce reads outside the filter program buffer, potentially exposing process memory.

The vulnerability exists due to missing instruction bounds checks in the libpcap BPF interpreter when executing filter programs. A local user can supply a malformed filter program to cause the interpreter to read beyond the program buffer.


Affected software

libpcap
openEuler
Anolis OS
Fedora
libpcap-help
libpcap-devel
libpcap-debugsource
libpcap-debuginfo
libpcap
libpcap-doc

How to mitigate CVE-2026-31912

Install security update from vendor's website.

libpcap - update to 1.10.7
libpcap-help - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
libpcap-devel - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
libpcap-debugsource - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
libpcap-debuginfo - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
libpcap - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
libpcap - update to 1.10.4-7
libpcap-devel - update to 1.10.4-7
libpcap-doc - update to 1.10.4-7
libpcap - addressed in versions 1.10.7-1.fc43, 1.10.7-1.fc45

External References

Related Security Bulletins