Description
An out-of-bounds write in the illumos NFS server allows a remote attacker to corrupt kernel memory. xdr_inline_decode_nfs_fh3() in usr/src/uts/common/fs/nfs/nfs3_xdr.c checks the lengths of the two variable-length fields of an NFSv3 file handle against the total size of the handle. It does not check them against the 26-byte (NFS_FH3MAXDATA) arrays that they are copied into, so a crafted file handle overflows the decoded handle by up to 16 bytes. The arguments of requests such as LOOKUP are a file handle followed by a name. For these requests, the overflow overwrites the pointer to the buffer that receives the name. The name supplied in the same request is then copied to an address chosen by the attacker. Arguments are decoded before the request is authenticated or matched against an export. A remote, unauthenticated attacker who can send requests to the NFS server can therefore write chosen data to a chosen kernel address. This may lead to arbitrary code execution in the kernel. Where the NFS server runs in a non-global zone, the impact extends beyond that zone to the entire system. The NFSv4 file handle decoder, xdr_inline_decode_nfs_fh4(), lacks the same check. NFSv4 is much less affected, because its file handle is allocated separately and the overflow can only corrupt nearby kernel heap memory. The flaw has existed since 2006 (illumos-gate commit 27242a7c), and affects any illumos distribution prior to illumos-gate commit c440d1a5.
Published: 2026-12-01
Score: 9.5 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Update to an illumos distribution release that includes the fix for illumos issue 18612.


Vendor Workaround

Disable NFSv3 service on any server that is reachable from a network that is not fully trusted, and disable NFSv3 servers running in non-global zones that are not fully trusted.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 20:45:00 +0000

Type Values Removed Values Added
Description An out-of-bounds write in the illumos NFS server allows a remote attacker to corrupt kernel memory. xdr_inline_decode_nfs_fh3() in usr/src/uts/common/fs/nfs/nfs3_xdr.c checks the lengths of the two variable-length fields of an NFSv3 file handle against the total size of the handle. It does not check them against the 26-byte (NFS_FH3MAXDATA) arrays that they are copied into, so a crafted file handle overflows the decoded handle by up to 16 bytes. The arguments of requests such as LOOKUP are a file handle followed by a name. For these requests, the overflow overwrites the pointer to the buffer that receives the name. The name supplied in the same request is then copied to an address chosen by the attacker. Arguments are decoded before the request is authenticated or matched against an export. A remote, unauthenticated attacker who can send requests to the NFS server can therefore write chosen data to a chosen kernel address. This may lead to arbitrary code execution in the kernel. Where the NFS server runs in a non-global zone, the impact extends beyond that zone to the entire system. The NFSv4 file handle decoder, xdr_inline_decode_nfs_fh4(), lacks the same check. NFSv4 is much less affected, because its file handle is allocated separately and the overflow can only corrupt nearby kernel heap memory. The flaw has existed since 2006 (illumos-gate commit 27242a7c), and affects any illumos distribution prior to illumos-gate commit c440d1a5.
Title Out-of-bounds write in illumos NFSv3 server file handle decoding allows remote kernel memory corruption
Weaknesses CWE-787
References
Metrics cvssV4_0

{'score': 9.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:U/V:C/RE:M/U:Amber'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: illumos

Published:

Updated: 2026-12-01T20:32:04.836Z

Reserved: 2026-10-20T20:46:17.998Z

Link: CVE-2026-113880

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T21:16:52.620

Modified: 2026-12-01T21:16:52.620

Link: CVE-2026-113880

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses