Critical

Linux kernel, NFS2ROOT, CVE-2026-99362, nfsd, NFS, remote root, heap overflow, ANSSI, OpenSec

NFS2ROOT CVE-2026-99362: Linux NFS Remote Root Flaw

NFS2ROOT (CVE-2026-99362, CVSS 9.8) is a 12-year-old Linux nfsd heap overflow giving remote root over TCP 2049. Exploit exists. Patch to 6.12.117/6.18.61/7.3.2.

NFS2ROOT (CVE-2026-99362) is a 12-year-old heap overflow in the Linux kernel's NFS server (nfsd) that lets an unauthenticated remote attacker get root on any server running NFSv4.1 or 4.2 with TCP port 2049 reachable. It is rated CVSS 9.8, and researchers have built a working remote-root exploit. Patch to kernel 6.12.117, 6.18.61 or 7.3.2 or later, and reboot.

The flaw was found by Jérémy Jean of France's ANSSI, who submitted a fix in August, and named NFS2ROOT by OpenSec, which shared a full remote-root exploit and patch with the nfsd maintainers in late September, BleepingComputer reports. The bug has been in the kernel since version 3.16, released in 2014. There are no reports of exploitation in the wild yet, and it is not in CISA's KEV catalog.

The kernel fix describes the mechanism. A client can negotiate the session's cached reply size down to the minimum, which gives every reply slot a zero-length buffer. A crafted COMPOUND request then makes nfsd copy the whole reply, including bytes the client chose, past the end of that slot. OpenSec turned that write into a full chain: read kernel memory, defeat KASLR, plant a callback in freed memory, and have the kernel run the attacker's command as root when the NFS connection closes. No login and no user interaction are needed.

Which Linux kernels are affected by NFS2ROOT?

Detail

Value

CVE

CVE-2026-99362 (NFS2ROOT)

CVSS

9.8, network, no privileges, no user interaction

Component

nfsd, NFSv4.1 and 4.2 SEQUENCE handling

Introduced

Linux 3.16 (2014)

Fixed in

6.12.117, 6.18.61, 7.3.2, 7.4-rc1

Exposure condition

nfsd running and TCP 2049 reachable

Exploit

Full remote-root exploit built by OpenSec, shared with maintainers

EPSS

0.8% (51.4th percentile)

CISA KEV

Not listed

Distribution kernels backport fixes under their own version numbers, so check your distro's advisory for CVE-2026-99362 rather than comparing upstream versions.

Is NFS2ROOT being exploited, and how do I detect it?

Not yet, as far as anyone has reported. The EPSS score of under 1% reflects that, but EPSS tends to lag on newly disclosed bugs, and a working exploit already exists. OpenSec says the exploit itself has no network signature, so detection lives on the host: kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on a file server, bursts of short NFSv4.1 sessions from one source, and kernel oopses with nfsd4_, svc_ or call_usermodehelper* frames.

What should I do if I can't patch yet?

Restrict TCP 2049 to trusted clients and networks at the firewall. If the host does not need to share files, stop and disable the nfs-server service. Then find every place nfsd actually runs: file servers, NAS appliances, build farms and Kubernetes storage nodes, as OpenSec points out. Appliances on vendor firmware will need the vendor's kernel update, which may lag.

Our read

NFS2ROOT joins a long 2026 list of Linux root bugs, including Fragnesia, which attackers are now chaining against PAN-OS firewalls. What makes this one different is that it is remote. The risk is decided less by the kernel version than by a network fact: whether port 2049 answers from somewhere it should not. That is cheap to test and easy to lose track of, because storage nodes and NAS boxes often sit outside the asset inventory the patch team works from. We covered a similar remote kernel bug, Linux TCP CVE-2026-98432, earlier this month. Our guide to prioritizing vulnerabilities with CVSS, EPSS and KEV explains why a working exploit should outweigh a low EPSS score, and our time-to-exploit analysis found 2026 CVEs in KEV were exploited a median of 5 days after disclosure. Nexus Void runs network VAPT that maps exposed services like NFS before attackers do.

Reporting by BleepingComputer; technical detail per the upstream kernel fix and OpenSec; CVSS and EPSS per NVD and FIRST.

Writing your own code with AI? The same bug classes surface there too. Scan your code free with Argus →
Liked this briefing? Share it:

More briefings

Get the briefings first
Breaking security news, verified fast, with the one fact the headlines skip. No spam - unsubscribe anytime.
AI CODE SECURITY
Catch the bug before it ships
Argus scans your repos for the vulnerability classes behind today's CVEs.
›Prioritized by real exploit data
›Connect a repo in minutes
Run a free scan →
Live NVD · EPSS · CISA KEV