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

 

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

Published: November 27, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause client process memory to be included in captured packet data.

The vulnerability exists due to an out-of-bounds read in the libpcap remote capture client when processing malformed packet headers. A remote attacker can supply malformed packet data from a malicious capture server to cause the client to include bytes from beyond the packet buffer in the captured data.


Affected software

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

How to mitigate CVE-2026-18238

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