Linux NFS flaw CVE-2026-99362 gives unauthenticated attackers root
Original title: NFS2ROOT: 12-Year-Old Linux NFS Flaw Gives Attackers Root
OpenSec showed a heap overflow in nfsd since Linux 3.16; fixes are 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, with no known attacks.
CVE-2026-99362 (CVSS 9.8), called NFS2ROOT, is a Linux kernel NFS server bug dating to March 2014 and Linux 3.16. A client that can reach TCP 2049 can zero the NFSv4.1 reply cache and overflow an 80-byte reply on the kernel heap, with 40 attacker-controlled bytes. OpenSec says sequenced requests can bypass randomization and run a command as root when the connection closes. ANSSI's Jérémy Jean sent a fix on August 17, 2026; patches landed November 20. OpenSec reports no known attacks.
Unconfirmed: OpenSec says it is not aware of exploitation in the wild.
- Exploitation needs nfsd, NFSv4.1 or 4.2, and access to TCP port 2049.
- The copy writes 61 bytes past the buffer, 40 of them attacker-controlled.
- Named fixed versions are Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.
- Distributors may backport CVE-2026-99362 without those version numbers.
- OpenSec says nfsd4_check_resp_size warnings appear on every exploitation attempt.
Impact: Unauthenticated remote root on reachable Linux NFS servers
| Product | Affected | Fixed in |
|---|---|---|
| Linux kernel NFS server (nfsd) | Linux 3.16 and later with nfsd and NFSv4.1 or 4.2 | 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 |
- 1.Upgrade to 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, or the package listing CVE-2026-99362, then reboot.
- 2.If patching is delayed, limit TCP 2049 to trusted networks or disable NFSv4.1 and 4.2.
- 3.Watch logs for nfsd4_check_resp_size warnings and unexpected nfsd crashes.
- CVEs
- CVE-2026-99362
- Vendors
- Linux
- Products
- Linux kernelnfsd
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-99362 | Slab out-of-bounds write in Linux kernel nfsd SEQUENCE cache | 9.8 | 1% | PoC ×3 |
From the original article
3 min read at securityaffairs.com
A 12-year-old Linux NFS flaw lets unauthenticated attackers gain root remotely. CVE-2026-99362 affects exposed NFS servers. A critical flaw in the Linux kernel’s NFS server, tracked as CVE-2026-99362 (CVSS score of 9.
By Pierluigi Paganini · securityaffairs.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.