CVE-2026-105516
nfs-ganesha: nfs-ganesha: 9P TWALK component count stack buffer overflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by Red Hat.
Description
A stack buffer overflow vulnerability was found in the 9P protocol implementation of NFS-Ganesha. The server does not validate the number of path components in a TWALK request against the protocol-defined limit of 16. An attacker can send a specially crafted TWALK message with thousands of path components, causing the server to write past the end of a fixed-size stack buffer during response construction. This can result in a crash or potentially remote code execution. The 9P protocol handler does not implement authentication, so the vulnerability is reachable without credentials by any client with network access to the 9P listener.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | nfs-ganesha | no fix listed |
| debian 12 | nfs-ganesha | no fix listed |
| debian 13 | nfs-ganesha | no fix listed |
| debian 14 | nfs-ganesha | 9.14-2 |
| echo | nfs-ganesha | no fix listed |
| rapidfort debian 12 | nfs-ganesha | 0:9.14-2 |
| rapidfort debian 13 | nfs-ganesha | 0:9.14-2 |