Improper Validation of Array Index in libpcap - CVE-2026-0799

 

Improper Validation of Array Index in libpcap - CVE-2026-0799

Published: November 27, 2026


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

Vulnerability details

The vulnerability allows a local user to read or corrupt memory outside the filter interpreter's scratch area.

The vulnerability exists due to missing bounds checks on scratch memory indices in the libpcap BPF interpreter when executing filter programs. A local user can supply a malformed filter program to trigger out-of-bounds reads or writes in the application process.


Affected software

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

How to mitigate CVE-2026-0799

Install security update from vendor's website.

libpcap - update to 1.10.7
libpcap-doc - update to 1.9.1-6.0.1
libpcap-devel - update to 1.9.1-6.0.1
libpcap - update to 1.9.1-6.0.1
libpcap-debugsource - addressed in versions 1.9.1-9, 1.10.3-5, 1.10.4-6
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-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 - addressed in versions 1.10.7-1.fc43, 1.10.7-1.fc45

External References

Related Security Bulletins