Security
NFS2ROOT: a 12-year-old Linux NFS server flaw, CVE-2026-99362 (CVSS 9.8), can give an unauthenticated attacker root
CVE-2026-99362, rated CVSS 9.8, is a heap overflow in the Linux NFS server present since 2014. Fixes exist in four kernel branches.
A heap buffer overflow in the Linux kernel’s NFS server, tracked as CVE-2026-99362 and named NFS2ROOT by OpenSec, can let a remote attacker without credentials gain root. It is rated CVSS 9.8 and the code dates back to Linux 3.16, from March 2014.
The essentials
- It affects servers with NFSv4.1 or 4.2 enabled and TCP port 2049 reachable; no login or user interaction is needed, per the sources.
- Fixes are in kernels 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1; older kernels are affected.
- ANSSI’s Jérémy Jean found the flaw and submitted a fix in August; OpenSec shared an exploit and patch with maintainers in late September.
How it works, in simple terms
The NFS server runs inside the kernel and reads network input before it knows who is calling. OpenSec says a client can shrink its reply cache to zero bytes and then make the server copy a full reply into it, writing past the buffer and corrupting kernel memory.
What to do
Update the kernel and reboot. If patching is not possible, restrict access to port 2049 or disable the nfs-server service, as SC Media summarises the advice.
What is not established
- Exploitation in the wild: not stated in the sources.
- Whether public exploit code is available: not stated in the sources.
- Distribution-specific patch dates: not stated in the sources.
Summary table
| Point | What is stated as of November 27, 2026 | Source |
|---|---|---|
| Identifier | CVE-2026-99362, CVSS 9.8 | OpenSec |
| Fixed in | 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 | SC Media |
| Present since | Linux 3.16 (March 2014) | Mezha |
FAQ
Is my server at risk?
Only if it runs the Linux kernel NFS server with NFSv4.1 or 4.2 and TCP port 2049 can be reached, and the kernel is older than the fixed versions.
Method and limits
Checked on November 19, 2026 against OpenSec, SC Media and Mezha.
Sources
- OpenSec: NFS2ROOT (CVE-2026-99362): pre-auth root in Linux nfsd (verified 2026-11-27)
- SC Media: Critical Linux kernel vulnerability allows remote root access (verified 2026-11-27)
- Mezha: NFS2ROOT Linux flaw can let remote attackers gain root access (verified 2026-11-27)
Spotted an error in this article? Report it · Our corrections policy