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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stand up malicious NFS server
  2. Delivery
    Lure client to connect
  3. Exploit
    Send oversized XDR string length
  4. Execution
    Trigger integer overflow in libnfs_zdr_string
  5. Persist
    Corrupt client heap memory
  6. Impact
    Crash or execute code in libnfs consumer

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

Exploitation requires the victim client to initiate an NFS connection (UI:R) to an attacker-controlled or compromised NFS server that returns a crafted XDR string with an oversized length field processed by libnfs_zdr_string; the vulnerable code path is reached during normal protocol decoding so no special libnfs build-time option is needed, but the target application must actually use libnfs (not the kernel NFS client) and must reach a server the attacker can influence - outbound TCP/UDP 2049 (or whichever port the rogue server advertises) must be permitted. Limiting factors: AC:H indicates the integer overflow does not deterministically translate into reliable code execution, no authentication on the server side is needed by the attacker but the client must voluntarily connect, and environments that pin NFS traffic to known internal file servers materially shrink the attack surface.

Impact

The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L scores 7.1 (High) but the real-world risk is meaningfully constrained: exploitation requires the victim to initiate an NFS connection (UI:R) to an attacker-controlled or compromised server, and AC:H signals non-trivial conditions to win the overflow. There is no EPSS score, KEV listing, or public POC in the provided intelligence, and the only available fix evidence is the upstream commit rather than a tagged release - so this looks like a credible memory-safety bug worth patching for anyone shipping libnfs, but not an opportunistic mass-exploitation candidate. Note a tension between AV:N and the practical attack model: the network vector is technically correct (data crosses a network), but it is a client-side bug triggered by a hostile server, which is a narrower threat surface than a typical remotely reachable service flaw.

Exploit ScenarioDerived

An attacker stands up a rogue NFS server (or compromises a legitimate one) and lures or coerces a victim - for example a QEMU guest image loader, backup job, or media app linked against libnfs - into mounting or connecting to it. During the initial XDR exchange the server returns a string field with a maliciously large length, triggering the integer overflow in libnfs_zdr_string and corrupting client-side memory to crash the process or potentially achieve code execution in the libnfs-consuming application. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

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.

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.

Affected VersionsENISA

libnfs 0 <55c18ea33a83d667f79f0ef209c96895795c729f

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Libnfs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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

1
Patch available
Jun 10, 2026 - 16:01 EUVD

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.

Executive ViewAI

Why It Matters

libnfs versions 6.0.2 and earlier contain a heap memory corruption vulnerability exploitable by malicious NFS servers, creating remote code execution risk for any organization using libnfs client libraries in their infrastructure. Without available vendor patches, affected systems face direct compromise through NFS connections, potentially exposing sensitive data and enabling lateral movement. Immediate inventory and network segmentation of NFS-dependent systems is critical.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network-based mitigations: (1) restrict NFS client access to whitelisted, authenticated NFS servers via firewall/network policies; (2) disable NFS services on systems where operationally feasible; (3) isolate NFS-dependent systems from sensitive network segments; (4) implement robust logging and alerting for NFS server connections and heap memory anomalies; (5) run libnfs-dependent applications in containerized or virtualized environments to limit exploitation scope.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

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