All reports
Medium

libpcap: libpcap: Information disclosure via out-of-bounds read in rpcap client

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-18238

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-22

Description

The rpcap client code that processes a RPCAP_MSG_PACKET message received from the server incorrectly validates its headers. A malicious server can send a crafted message and cause the client to treat up to 20 bytes of the client process memory beyond the end of the buffer as if it was a part of the captured packet.

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.