CVE-2026-18238
libpcap: libpcap: Information disclosure via out-of-bounds read in rpcap client
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 6, 2026
Updated · September 10, 2026
Description
A flaw was found in libpcap. The rpcap client code, which processes RPCAP_MSG_PACKET messages from a server, incorrectly validates its headers. A malicious server could exploit this vulnerability by sending a specially crafted message, causing the client to read up to 20 bytes of memory beyond its intended buffer. This out-of-bounds read could lead to the disclosure of sensitive information from the client's process memory.
Statement
This Moderate impact information disclosure flaw in libpcap's rpcap client allows a malicious server to read up to 20 bytes of client process memory. The vulnerability occurs when the client processes a crafted RPCAP_MSG_PACKET message, leading to an out-of-bounds read. Exploitation requires the client to connect to a controlled malicious server, limiting the attack surface.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
CWE-125 · Out-of-bounds Read