NEWS

NFS2ROOT: 12-Year-Old Linux nfsd Flaw (CVE-2026-99362) Allows Remote Root

A heap overflow in the Linux kernel NFS server, present since 3.16, lets unauthenticated attackers reach root over TCP 2049. Patch the kernel or close the port.

Dylan H.

News Desk

November 27, 2026
2 min read
NFS2ROOT: 12-Year-Old Linux nfsd Flaw (CVE-2026-99362) Allows Remote Root

Overview

CVE-2026-99362, nicknamed NFS2ROOT by the firm OpenSec, is a heap buffer overflow in the Linux kernel's NFS server (nfsd). A remote, unauthenticated attacker can corrupt kernel memory and gain root. The bug was introduced in Linux 3.16 (March 2014), so it is about 12 years old. BleepingComputer does not give a CVSS score but calls it critical.

Jérémy Jean of ANSSI found the flaw and submitted a fix in August. OpenSec then built a full remote-root exploit and a patch and shared them with the NFSD maintainers in late September. No in-the-wild exploitation is reported.

Affected Systems

Kernels older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, when:

  • nfsd is loaded and running with NFS v4.1 or 4.2, and
  • TCP port 2049 is reachable by the attacker.

A server that exposes NFS only to a trusted segment has a smaller attack surface, but any host on that segment can still reach it.

What To Do Now

  1. Update the kernel from your distribution vendor and reboot to load it.
  2. Restrict TCP 2049 to trusted clients or networks with a firewall.
  3. Stop and disable nfs-server on hosts that do not need to serve NFS.
  4. Check that no NFS server is exposed to the internet.

Detection Ideas

OpenSec lists these indicators. There are no network signatures available:

  • Kernel warnings from nfsd4_check_resp_size
  • Shells spawned by kernel workers on file servers
  • Bursts of short NFSv4.1 sessions from one source
  • Kernel oopses with nfsd4_*, svc_* or call_usermodehelper* frames

Sources