JLSEC-2026-2250: Buffer Overflow
The deprecated compatibility function clntcreate in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.
Affected Software
Event History
Frequently Asked Questions
What must an attacker control to trigger the overflow?
An attacker needs to cause an application to call the deprecated sunrpc clnt_create function with an overly long hostname argument. The issue is remotely reachable according to the supplied vector and requires no authentication.
When could this lead to code execution rather than only a crash?
The overflow may cause denial of service. Arbitrary code execution is potentially possible when the affected application was built without stack protector support.
Are installations using newer glibc releases affected?
The provided information identifies GNU C Library versions through 2.34 as affected. It does not provide affected or fixed version details for later releases.