#1148730 rpcbind: CVE-2026-94640

Package:
src:rpcbind
Source:
src:rpcbind
Submitter:
Salvatore Bonaccorso
Date:
2026-11-03 12:05:02 UTC
Severity:
normal
Tags:
#1148730#5
Date:
2026-09-22 18:41:14 UTC
From:
To:
Hi,

The following vulnerability was published for rpcbind.

CVE-2026-94640[0]:
| A flaw was found in rpcbind. This vulnerability allows a remote,
| unauthenticated attacker to cause a Denial of Service (DoS) by
| sending a large number of unique requests. The rpcbind service
| records previously unseen RPC (Remote Procedure Call) statistics in
| unbounded in-memory lists, leading to persistent memory growth and
| increased CPU usage. This can degrade or exhaust service
| availability.

At time of writing this bugreport I think we only have the Red Hat
bugzilla entry at hand.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-94640
https://www.cve.org/CVERecord?id=CVE-2026-94640
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2462960

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1148730#12
Date:
2026-11-03 12:03:11 UTC
From:
To:
Hi,

Both CVEs are fixed upstream in rpcbind 1.3.1 (tag rpcbind-1_3_1,
2026-09-12, git://
https://www.google.com/url?q=http://git.linux-nfs.org/projects/steved/rpcbind.git&source=gmail&ust=1793793791452000&sa=E
).

#1142716, CVE-2026-16461 (rpcinfo rpcbdump() stack overflow):
cb7b787a4997cbc769f62cb4d97a93326791a5a1
"rpcinfo: stack buffer overflow in rpcinfo rpcbdump()"
It stops sprintf()ing the server-supplied version list into the fixed
buf and prints it directly instead.
(Upstream 1.2.9 had an earlier, similar fix for rpcbaddrlist(),
bb9bb72. That one is a different function.)

#1148730, CVE-2026-94640 (unbounded stats lists, rhbz#2462960):
c96fa9a601a5d4f0798d5ae4619ab7aa515356c0
"rpcbind: bound stats lists in rpcbs_getaddr() and rpcbs_rmtcall()"
It caps both lists at 4096 entries.
A related hardening commit in the same series:
8d8ba19 "rpcbind: restrict RPCBPROC_GETSTAT to loopback callers"
(one line in src/security.c).

Backport check against 1.2.7-1: I took the upstream rpcbind-1_2_7 tag,
applied the Debian 1.2.7-1 patch series (all 6 patches apply), and then
the three commits on top:
cb7b787 applies (offset +24, because of debian/patches/run-migration)
c96fa9a applies cleanly
8d8ba19 applies (offset -2, because of 04-610718-non-linux.patch)
They also cherry-pick cleanly onto the plain 1_2_7 tag.

I have not built or run the result; this is a patch-application check
only.

Regards