Skip to main content

libnfs CVE-2026-53689

| EUVDEUVD-2026-36027 HIGH
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-06-10 mitre GHSA-379r-2p3h-m47v
7.1
CVSS 3.1 · Vendor: mitre
Share

Severity by source

Vendor (mitre) PRIMARY
7.1 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
SUSE
HIGH
qualitative

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

3
Patch available
Jun 10, 2026 - 16:01 EUVD
Source Code Evidence Fetched
Jun 10, 2026 - 15:00 vuln.today
Analysis Generated
Jun 10, 2026 - 15:00 vuln.today

DescriptionCVE.org

libnfs through 6.0.2 before 55c18ea does not validate a string size, leading to an integer overflow during a connection to a crafted NFS server. This occurs in libnfs_zdr_string in lib/libnfs-zdr.c.

AnalysisAI

Heap memory corruption in libnfs through 6.0.2 allows a malicious NFS server to trigger an integer overflow in the client's XDR string deserializer when a victim connects to it. The flaw resides in libnfs_zdr_string in lib/libnfs-zdr.c, which failed to validate that an attacker-controlled string size fit within the remaining buffer. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

Technical ContextAI

libnfs is a portable C client library by Ronnie Sahlberg that implements the NFS protocol (v3/v4) and its underlying XDR (External Data Representation) encoding, widely embedded in tools such as QEMU, KVM, and various media/storage utilities to talk to NFS servers without a kernel mount. The vulnerable routine libnfs_zdr_string decodes a length-prefixed XDR string off the wire and previously consumed the attacker-supplied 32-bit size without comparing it against the remaining ZDR buffer size, matching CWE-1284 (Improper Validation of Specified Quantity in Input). The upstream commit 55c18ea adds an explicit if (size > zdrs->size) return FALSE; guard, confirming the root cause is a missing bounds check that allowed integer/size arithmetic to wrap and subsequent reads/writes to operate on under-allocated memory.

RemediationAI

Upstream fix available (commit 55c18ea33a83d667f79f0ef209c96895795c729f); released patched version not independently confirmed, so rebuild libnfs from a tree that includes that commit or wait for a post-6.0.2 tagged release and update bundled copies in dependent software such as QEMU. As a compensating control, restrict outbound NFS (TCP/UDP 2049 and the portmapper on 111) at the host or perimeter firewall to a small allowlist of trusted file servers, which blocks the malicious-server attack path at the cost of breaking NFS connectivity to any server not on the allowlist; for hypervisor/VM stacks, prefer kernel NFS or block-device-backed storage over libnfs-backed disks until the library is rebuilt. The advisory reference is https://github.com/sahlberg/libnfs/commit/55c18ea33a83d667f79f0ef209c96895795c729f.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

Share

CVE-2026-53689 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy