RPC state corruption via unchecked PDU subtraction
Published Jun 26, 2026 · Updated Jun 26, 2026
Integer underflow in libnfs through 6.0.2 before 935b8db allows remote attackers controlling an NFS server to corrupt RPC length accounting. READ_IOVEC in rpc_read_from_socket subtracts the expected PDU size from rm_xid[0] without first ensuring that the record-marker value is large enough, causing unsigned wraparound. The client must initiate a connection and process a read reply from a crafted NFS server; the library is not independently exposed as a listening service.
Summary
What happened
Integer underflow in libnfs through 6.0.2 before 935b8db allows remote attackers controlling an NFS server to corrupt RPC length accounting. READ_IOVEC in rpc_read_from_socket subtracts the expected PDU size from rm_xid[0] without first ensuring that the record-marker value is large enough, causing unsigned wraparound. The client must initiate a connection and process a read reply from a crafted NFS server; the library is not independently exposed as a listening service.
The record
- CVE
- CVE-2026-57918
- Published
- Jun 26, 2026
- Updated
- Jun 26, 2026
- Vendor
- Ronnie Sahlberg
- Product
- libnfs
- Classifications
- CWE-191
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 26, 2026CVE publishedPublication date reported by the CVE source.
- Jun 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <935b8db712b3c6649bc57ddc276526c4a31680de
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo