CVE-2026-18238: CWE-1288: Improper Validation of Consistency within Input in The Tcpdump Group libpcap
Description
CVE-2026-18238 is a medium severity vulnerability in the libpcap library used by The Tcpdump Group. The rpcap client code improperly validates headers in RPCAP_MSG_PACKET messages from the server. This flaw allows a malicious server to cause the client to treat up to 20 bytes of memory beyond the buffer as part of the captured packet, potentially exposing sensitive memory contents.
CVSS v3.1
Score 5.0medium
Affected software
The Tcpdump Group
libpcap
pkg:github/libpcapRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the rpcap client code of libpcap where it incorrectly validates the headers of RPCAP_MSG_PACKET messages received from the server. A malicious server can exploit this by sending a crafted message that causes the client to read up to 20 bytes beyond the intended buffer boundary, treating this memory as part of the captured packet data. This improper validation leads to an information disclosure risk by exposing client process memory beyond the buffer.
Potential Impact
An attacker controlling a malicious RPCAP server can exploit this vulnerability to cause the client to read and potentially disclose up to 20 bytes of memory beyond the packet buffer. This results in limited information disclosure (confidentiality impact) without affecting integrity or availability. The CVSS 3.1 score is 5.0 (medium severity), reflecting the network attack vector with low complexity and requiring low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor The Tcpdump Group advisories for updates and apply any forthcoming patches promptly. Until then, avoid connecting rpcap clients to untrusted or malicious servers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Tcpdump
- Date Reserved
- 2026-07-29T13:32:44.322Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9c688aacd9273b49460eb8
Added to database: 09/05/2026, 19:07:54 UTC
Last enriched: 09/15/2026, 01:01:44 UTC
Last updated: 10/20/2026, 18:48:18 UTC
Views: 93
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.