NFS server rpc.mountd realpath() buffer overflow

nfs-rpcmountd-realpath-bo (24347) The risk level is classified as HighHigh Risk


The NFS server package included with multiple Linux distributions is vulnerable to a buffer overflow in the rpc.mountd realpath() function. rpc.mountd is the service that handles file system mount requests on Network File Systems (NFS). An attacker with the ability to create symlinks to any of the file systems on the vulnerable system could exploit this vulnerability to execute arbitrary code on the system with root privileges.


Gain Privileges


For Debian GNU/Linux:
Refer to DSA-975-1 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE Security Announcement SUSE-SA:2006:005 for upgrade or workaround information. See References.

For other distributions:
Contact your vendor for patch or upgrade information.


  • BID-16388: NFS-SERVER Remote Buffer Overflow Vulnerability
  • CVE-2006-0043: Buffer overflow in the realpath function in nfs-server rpc.mountd, as used in SUSE Linux 9.1 through 10.0, allows local users to execute arbitrary code via unspecified vectors involving mount requests and symlinks.
  • DSA-975: nfs-user-server -- buffer overflow
  • OSVDB ID: 22756: Linux nfs-server rpc.mountd realpath() Function Overflow
  • SA18614: nfs-server "rpc.mountd" Buffer Overflow Vulnerability
  • SUSE-SA:2006:005: nfs-server/rpc.mountd remote code execution

Platforms Affected:

  • Debian Debian Linux 3.0
  • Debian Debian Linux 3.1
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 9.1
  • SUSE SuSE Linux 9.2
  • SUSE SuSE Linux 9.3


Jan 26, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page