CVE Catalog

CVE-2026-31912

MediumCVSS 5.5
Published: Translated: NVD NIST

Summary

The 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.

Risk Assessment

This can lead to information disclosure from process memory or crashes, posing risks to confidentiality and availability.

Recommendation

Update libpcap to a patched version if available; otherwise, restrict trust in BPF filter sources.

Other vulnerabilities in libpcap

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS