Skip to content
Vulnerability PoC public Memory corruption CVE-2026-99362

NFS2ROOT flaw in Linux NFS server allows remote root access

A 12-year-old heap overflow in the Linux kernel's NFS server, CVE-2026-99362, lets remote attackers gain root privileges.

Covered by 2 outlets

First reported Summary updated

Read the coverage
Public PoC
Yes
Exploited
No
CVSS
9.8 Critical

What happened

A heap buffer overflow in the Linux kernel's NFS server (nfsd) has been present since kernel version 3.16.1

The flaw is pre-authentication and can be triggered by a single TCP connection that writes past a kernel heap object.2

Exploitation allows an attacker to corrupt kernel memory, bypass KASLR, and execute a command with root privileges when the NFS connection is closed.1

Who is affected

  • Linux kernel NFS server (nfsd), Linux kernel older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc11

Is there a public exploit?

Yes, public OpenSec shared a full remote-root exploit with the NFSD maintainers in late September.1

Exploited in the wild?

Not yet There are no reports of exploitation in the wild.1

What to do

  • Apply the latest kernel security updates from your Linux distribution vendor and reboot.1
  • If patching is not possible, restrict access to TCP port 2049 to trusted clients or networks.1
  • If NFS sharing is not required, stop and disable the nfs-server service.1

For bug hunters

This is a pre-authentication heap overflow in a network service, a class that often appears in remote daemons and protocol parsers. Bug bounty programs with network appliances, storage systems, or custom RPC services may accept similar findings. Look for length or size fields negotiated by the client that are trusted before validation, especially where a reply buffer is narrowed based on client input. Test boundary values and malformed sequences that could cause writes past allocated buffers.

What to test

  • Send crafted NFSv4.1 or 4.2 requests with minimal ca_maxresponsesize_cached values.
  • Fuzz COMPOUND tags and SEQUENCE operations for out-of-bounds writes.
  • Check for kernel warnings or oopses in nfsd4_* functions after malformed requests.
  • Test if unauthenticated clients can trigger memory corruption before login.

The Memory corruption lesson Every Memory corruption report

Written by bugbounty.wiki with AI from the 2 outlets below. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

2 articles, oldest first. Each headline opens the outlet's own article.

  1. 1

    BleepingComputer

    New NFS2ROOT Linux flaw can let attackers gain root privileges
    “​A 12-year-old critical vulnerability in the Linux kernel's Network File System (NFS) server, tracked as CVE-2026-99362, allows remote attackers to gain root privileges.”
  2. 2

    oss-security

    CVE-2026-99362: Pre-auth heap overflow in the Linux NFS server "NFS2ROOT"
    “Summary section of the OpenSec advisory <https://opensec.in/blog/nfs2root-cve-2026-99362>:”

Reports about Memory corruption

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Memory corruption first.