CVE-2026-57918
libnfs: XID Integer Underflow in RPC Read
Description
libnfs through 6.0.2 before 935b8db has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection to a crafted NFS server, when the expected pdu size exceeds the absolute pdu size from the xid/record-marker.
INFO
Published Date :
June 26, 2026, 11:16 a.m.
Last Modified :
June 26, 2026, 8:18 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-57918
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 8254265b-2729-46b6-b9e3-3dfca2d5bfca | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update libnfs to version f0b109d or later.
- Apply the security patch for the integer underflow.
Public PoC/Exploit Available at Github
CVE-2026-57918 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-57918.
| URL | Resource |
|---|---|
| https://github.com/sahlberg/libnfs/commit/935b8db712b3c6649bc57ddc276526c4a31680de |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-57918 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-57918
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
网络服务 Fuzz-SymExec 与智能体适配平台
Makefile C HTML JavaScript Python Shell Perl CMake CSS TeX
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-57918 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-57918 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 26, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-57918', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T12:01:15.533624Z'} -
CVE Modified by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Changed Description libnfs through 6.0.2 before f0b109d has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection to a crafted NFS server, when the expected pdu size exceeds the absolute pdu size from the xid/record-marker. libnfs through 6.0.2 before 935b8db has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection to a crafted NFS server, when the expected pdu size exceeds the absolute pdu size from the xid/record-marker. -
New CVE Received by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'sahlberg', 'product': 'libnfs', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '935b8db712b3c6649bc57ddc276526c4a31680de', 'versionType': 'git'}], 'defaultStatus': 'unaffected'}] Added Description libnfs through 6.0.2 before f0b109d has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection to a crafted NFS server, when the expected pdu size exceeds the absolute pdu size from the xid/record-marker. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L Added CWE CWE-191 Added Reference https://github.com/sahlberg/libnfs/commit/935b8db712b3c6649bc57ddc276526c4a31680de