# CVE-2026-57918: libnfs through 6.0.2 before 935b8db has an xid integer underflow in READIOVEC in rpcreadfromsocket in lib/socket.c during a connection to a…

- Severity: High 7.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-06-26T10:54:58.162Z
- Modified: 2026-10-25T22:10:00.150Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- sahlberg libnfs: before 935b8db712b3c6649bc57ddc276526c4a31680de

## References

- <https://github.com/sahlberg/libnfs/commit/935b8db712b3c6649bc57ddc276526c4a31680de>

## Sources

- CVE List: [CVE-2026-57918](https://www.cve.org/CVERecord?id=CVE-2026-57918), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-57918](https://nvd.nist.gov/vuln/detail/CVE-2026-57918), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-57918 · Whole record: https://cve.day/CVE-2026-57918.json · Rebuilt by cve.day 2026-11-25T22:59:26.461Z
