CVE-2026-57918

Source
https://cve.org/CVERecord?id=CVE-2026-57918
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57918.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57918
Downstream
Related
Published
2026-06-26T10:54:58.162Z
Modified
2026-07-11T09:29:27.192272484Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
Summary
[none]
Details

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 crafted NFS server, when the expected pdu size exceeds the absolute pdu size from the xid/record-marker.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "935b8db712b3c6649bc57ddc276526c4a31680de"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "fixed": "935b8db"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57918.json",
    "cwe_ids": [
        "CWE-191"
    ],
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/sahlberg/libnfs

Affected ranges

Type
GIT
Repo
https://github.com/sahlberg/libnfs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.0.2"
        }
    ]
}

Affected versions

libnfs-1.*
libnfs-1.10.0
libnfs-1.11.0
libnfs-1.2.0
libnfs-1.3.0
libnfs-1.4.0
libnfs-1.5.0
libnfs-1.6.0
libnfs-1.7.0
libnfs-1.8.0
libnfs-1.9.0
libnfs-1.9.2
libnfs-1.9.3
libnfs-1.9.4
libnfs-1.9.5
libnfs-1.9.6
libnfs-1.9.7
libnfs-1.9.8
libnfs-2.*
libnfs-2.0.0
libnfs-3.*
libnfs-3.0.0
libnfs-4.*
libnfs-4.0.0
libnfs-5.*
libnfs-5.0.0
libnfs-5.0.1
libnfs-5.0.2
libnfs-5.0.3
libnfs-6.*
libnfs-6.0.0
libnfs-6.0.1
libnfs-6.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57918.json"