Skip to content
NewA calmer, faster ZeroHour

Linux NFS flaw CVE-2026-99362 gives unauthenticated attackers root

Original title: NFS2ROOT: 12-Year-Old Linux NFS Flaw Gives Attackers Root

Security Affairsby Pierluigi Paganini ()3 min read2
Part of a story covered by 7 sources12-year-old Linux NFS server bug allows pre-auth remote rootMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the articlePublic proof of concept

Impact: Unauthenticated remote root on reachable Linux NFS servers

ProductAffectedFixed in
Linux kernel NFS server (nfsd)Linux 3.16 and later with nfsd and NFSv4.1 or 4.26.12.117, 6.18.61, 7.3.2, 7.4-rc1
What to do
  1. 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. 2.If patching is delayed, limit TCP 2049 to trusted networks or disable NFSv4.1 and 4.2.
  3. 3.Watch logs for nfsd4_check_resp_size warnings and unexpected nfsd crashes.
Analyze CVE-2026-99362 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-99362
Slab out-of-bounds write in Linux kernel nfsd SEQUENCE cache
9.81%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.

Security Affairs

By Pierluigi Paganini · securityaffairs.com

Read the full article at Security Affairs

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.