Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-57918: CWE-191 Integer Underflow (Wrap or Wraparound) in sahlberg libnfs

0
High
VulnerabilityCVE-2026-57918cvecve-2026-57918cwe-191
Published: 06/26/2026 (06/26/2026, 10:54:58 UTC)
Source: CVE Database V5
Vendor/Project: sahlberg
Product: libnfs

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
sahlberg/libnfs
pkg:github/sahlberg/libnfs
Affected versions
<=6.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/03/2026, 23:06:36 UTC

Technical Analysis

The vulnerability CVE-2026-57918 in libnfs (up to 6.0.2) is an integer underflow (CWE-191) in the READ_IOVEC function of rpc_read_from_socket in lib/socket.c. It is triggered during a connection to a crafted NFS server when the expected protocol data unit (PDU) size is larger than the absolute PDU size calculated from the xid/record-marker, causing an xid integer underflow. This can lead to impacts on confidentiality, integrity, and availability as indicated by the CVSS vector.

Potential Impact

Successful exploitation of this integer underflow vulnerability could lead to high impact on confidentiality and integrity, and a low impact on availability. The vulnerability allows a remote attacker with no privileges and requiring user interaction to potentially manipulate data or cause unexpected behavior in libnfs when communicating with a malicious NFS server.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been documented at this time. Users should monitor vendor communications for patches or updates addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-06-26T10:54:57.765Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3e5c034853345fc1b7bab6

Added to database: 06/26/2026, 11:01:23 UTC

Last enriched: 07/03/2026, 23:06:36 UTC

Last updated: 08/10/2026, 00:41:17 UTC

Views: 68

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses