Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-85977 Overview
CVE-2026-85977 is a denial-of-service vulnerability in libtirpc, the transport-independent Remote Procedure Call (RPC) library. The flaw affects clients that call the pmap_getmaps() function against an attacker-controlled host. A remote attacker can send specially crafted PMAPPROC_DUMP replies that trigger unbounded decoding on the client side. The resulting memory and CPU allocation exhausts resources and causes the client process to become unresponsive. The weakness is tracked under CWE-1050 (excessive platform resource consumption within a loop).
Critical Impact
A malicious portmapper response can exhaust client memory and CPU, causing a denial-of-service condition in any application using pmap_getmaps() from libtirpc.
Affected Products
- libtirpc (transport-independent RPC library)
- Red Hat Enterprise Linux distributions shipping affected libtirpc builds (see RHSA-2026:80360)
- Applications linking against libtirpc and invoking pmap_getmaps() against untrusted hosts
Discovery Timeline
- 2026-10-16 - CVE-2026-85977 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-85977
Vulnerability Analysis
The vulnerability resides in the client-side decoding path invoked by pmap_getmaps(). This function queries the RPC portmapper on a remote host and expects a list of registered RPC program mappings in the PMAPPROC_DUMP reply. The decoding loop does not enforce an upper bound on the number of entries returned. An attacker who controls the target host can respond with an arbitrarily large or malformed mapping list. The client then allocates memory and consumes CPU cycles decoding entries until resources are exhausted. The attack requires user interaction, because a legitimate client application must initiate the pmap_getmaps() call to the attacker-controlled host.
Root Cause
The root cause is missing input validation during XDR decoding of PMAPPROC_DUMP replies in libtirpc. The decoding routine iterates over returned portmapper entries without validating a maximum count or total memory footprint. This is a classic resource-exhaustion-in-loop pattern catalogued as CWE-1050.
Attack Vector
Exploitation requires an attacker-controlled RPC portmapper endpoint and a victim client that calls pmap_getmaps() against it. The attacker returns a crafted reply containing an excessive number of mapping entries or a malformed length field. The client-side decoder processes the response and allocates resources proportional to attacker-supplied values. The target process stalls or terminates once memory or CPU limits are reached. No authentication is required on the attacker side, but user interaction on the client side (initiating the RPC query) is necessary.
No public proof-of-concept exploit is available at the time of publication. See the Red Hat CVE details page for additional technical context.
Detection Methods for CVE-2026-85977
Indicators of Compromise
- Sudden memory growth or CPU saturation in processes linking libtirpc, particularly those performing RPC portmapper queries.
- Outbound TCP or UDP traffic to port 111 (portmapper) directed at untrusted or unexpected hosts.
- Oversized PMAPPROC_DUMP responses captured in network traffic to RPC-enabled clients.
Detection Strategies
- Inspect libtirpc version strings on Linux hosts and compare against fixed releases published in RHSA-2026:80360.
- Deploy network monitoring rules that flag unusually large RPC portmapper responses or responses from external IP ranges.
- Correlate process-level resource exhaustion events with concurrent RPC traffic in centralized log analytics.
Monitoring Recommendations
- Alert on processes consuming abnormal memory within short windows while holding sockets on port 111.
- Track egress RPC portmapper traffic leaving trusted administrative boundaries.
- Audit application code for calls to pmap_getmaps() targeting hosts outside the trust boundary.
How to Mitigate CVE-2026-85977
Immediate Actions Required
- Apply the updated libtirpc package provided by your Linux distribution, including RHSA-2026:80360 for Red Hat Enterprise Linux.
- Restart services and applications that link against libtirpc to ensure the patched library is loaded.
- Restrict outbound RPC portmapper connections (port 111) to trusted internal hosts only.
Patch Information
Red Hat has published a fix under advisory RHSA-2026:80360. Additional vendor context is tracked in the Red Hat Bugzilla report #2478979. Administrators should consult their distribution's security advisories to identify the specific libtirpc version containing the bounded decoder fix.
Workarounds
- Avoid invoking pmap_getmaps() against untrusted or externally reachable RPC hosts until the patch is applied.
- Enforce egress firewall rules blocking port 111 traffic to networks outside administrative control.
- Apply process-level resource limits (ulimit, cgroup memory caps) to contain the impact of resource exhaustion in RPC client processes.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

