Cloudanix VulnDB

CVE-2026-18313

Medium · 4.3

CVSS

4.3

EPSS

0.2%

Published

Sep 5, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the remote packet capture service lets a connected user slowly drain the server's memory until the service stops working.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

rpcapd allocates up to 65536 bytes for each RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ without ever freeing the memory, producing a leak that occurs even during normal operation and accelerates under adversarial traffic.

Why it matters to the business

Prolonged operation or repeated requests from a client can exhaust server memory, forcing restarts or outages of the packet-capture service and disrupting any monitoring or security tooling that depends on it.

How an attack unfolds

An attacker with network access to the rpcapd service repeatedly sends RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ messages; each message triggers an allocation that is never released, steadily consuming RAM until the process terminates or the system becomes unresponsive.

How to fix it

Upgrade rpcapd to a version that properly frees the allocations for these message types; until a fix is available, restrict network access to the service, enforce strict client authentication, and apply OS-level memory limits or watchdog restarts.

How to confirm the fix worked

After applying a candidate fix, run a scripted client that issues thousands of the affected message types while monitoring resident set size; confirm that memory usage remains stable and does not grow linearly with message count.

Typical attack path

  1. Locate an exposed rpcapd listener
  2. Establish an authenticated RPCAP session
  3. Send repeated RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ messages
  4. Monitor memory growth until the service crashes or is killed by the OS

How to detect it

Correlate rpcapd process memory growth over time with inbound RPCAP sessions; look for sustained increases in RSS or VSZ that correlate with message volume rather than normal capture activity.

What your security team should do

  • Block or tightly ACL inbound access to rpcapd ports until patched
  • Deploy updated rpcapd packages as soon as they become available
  • Configure process-level memory limits and automatic restarts for the daemon
  • Add memory-usage alerting for the rpcapd process to existing monitoring

The record

rpcapd can allocate up to 65536 bytes per each RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ message received from the client, but it never frees the memory, so it leaks memory even under normal use. A malicious client can cause the server to leak memory substantially faster.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities