libpcap: Update to version 1.10.7
Commit Message
- Update from version 1.10.6 to 1.10.7
- Update of rootfile
- 7 CVE fixes
- Changelog
1.10.7
General:
Free p->opt.device on close, not on cleanup (issue #1615). Issue
reported by Harrison Green.
Source code:
Deprecate bpf_filter().
Packet filtering:
Initialize the scratch memory store to 0.
In "net <n> mask <m>" catch ENOMEM for the "m" too.
CVE-2026-0799: Access M[] safely in the BPF interpreter.
CVE-2026-31912: Mind the program bounds in pcap_offline_filter().
CVE-2026-31911: Fail opcodes safely in the BPF interpreter.
CVE-2026-6244: Avoid division by zero via pcap_offline_filter().
CVE-2026-6554: Limit "ja L" looping in pcap_offline_filter().
Validate BPF opcodes stricter.
For "lsh" and "rsh" guard "#k" as well.
Windows:
Fix error return from memory allocation error.
rpcap:
CVE-2026-18313: Fix a memory leak in rpcapd.
CVE-2026-18238: Fix RPCAP_MSG_PACKET validation.
Documentation:
Remove list of OSes that support "ipv6-icmp"; all the ones we
support appear to do so.
Fix pcap_next_ex(3PCAP) man page to clarify the PCAP_ERROR_BREAK
return value.
Building and testing:
CMake: Disable remote capture support on Windows by default.
RDMA: Avoid valgrind errors when calling rdmasniff_findalldevs().
Autoconf: Add QNX support to AC_LBL_LIBRARY_NET().
capturetest: Treat SA_RESTART as optional.
QNX:
Disable zero-copy BPF to work around portability issues.
DAG:
Fix packet filtering with low snaplen.
SNF:
Fix packet filtering with low snaplen.
Netmap:
Set packet captured length based on the snapshot length and return
value of the capture filter.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/libpcap | 2 +-
lfs/libpcap | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
@@ -21,7 +21,7 @@
#usr/lib/libpcap.a
usr/lib/libpcap.so
usr/lib/libpcap.so.1
-usr/lib/libpcap.so.1.10.6
+usr/lib/libpcap.so.1.10.7
#usr/lib/pkgconfig/libpcap.pc
#usr/share/man/man1/pcap-config.1
#usr/share/man/man3/pcap.3pcap
@@ -24,7 +24,7 @@
include Config
-VER = 1.10.6
+VER = 1.10.7
THISAPP = libpcap-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 392bee5b22cd4664ee4f2f110c27ee677c2e3ab25d4427e8d72c7f3347ba1b45acf987d661fc024f8a71e0e2d2b90d53352ad63796ae3836a41561816adf341d
+$(DL_FILE)_BLAKE2 = 5cec38e048446c7837e95a4c51fb3b5cc3a7d8e459f7599d918e9304d6c39725c3e22a9563fdbb0e2bd318f484872b2516856a43928884834403411391859e20
install : $(TARGET)