CVE-2026-18313
Medium · 4.3CVSS
4.3
EPSS
0.2%
Published
Sep 5, 2026
CISA due date
—
Cloudanix analysis
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
- Locate an exposed rpcapd listener
- Establish an authenticated RPCAP session
- Send repeated RPCAP_MSG_UPDATEFILTER_REQ or RPCAP_MSG_STARTCAP_REQ messages
- 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
- CVE-2026-120678 A memory management flaw in the MongoDB C Driver's handling of compressed responses may… CWE-401
- CVE-2026-121512 Memory Leak with Amplification in µD3TN BPv6 EID Reference Handling allows… CWE-401
- CVE-2026-120440 QuickJS-NG before 0.16.0 contains a memory leak vulnerability in js_atomics_store() in… CWE-401
- CVE-2026-119286 GraphQL-core is a Python port of the GraphQL.js reference implementation. CWE-401
- CVE-2026-116157 ImageMagick before 7.1.2-33 contains a memory leak vulnerability in PerlMagick that fails… CWE-401
- CVE-2026-116158 ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare… CWE-401
- CVE-2026-116159 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the… CWE-401
- CVE-2026-116156 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a… CWE-401