CVE-2026-108985: CWE-787 Out-of-bounds Write in sahlberg libnfs
Description
CVE-2026-108985 is a high-severity vulnerability in the sahlberg libnfs library affecting versions 0 through 6.0.2. It involves an out-of-bounds write in the ZDR decoding functionality, specifically in lib/libnfs-zdr.c functions libnfs_zdr_bytes(), libnfs_zdr_string(), and libnfs_zdr_array(). The vulnerability arises because the caller-supplied maxsize value is not properly enforced, potentially leading to memory corruption.
CVSS v3.1
Score 7.1high
Affected software
sahlberg
libnfs
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-108985) in libnfs versions 0 through 6.0.2 is an out-of-bounds write (CWE-787) in the ZDR decoding code. The affected functions libnfs_zdr_bytes(), libnfs_zdr_string(), and libnfs_zdr_array() in lib/libnfs-zdr.c do not honor the caller-supplied maxsize parameter, which can lead to writing outside allocated memory bounds. This flaw can cause memory corruption and potentially disrupt application availability or stability.
Potential Impact
The out-of-bounds write can lead to memory corruption, which may cause application crashes or denial of service. The CVSS score of 7.1 (high) reflects that the vulnerability can be exploited remotely without privileges but requires user interaction. There is no indication of confidentiality impact, but integrity is impacted and availability can be severely affected.
Mitigation Recommendations
No official patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted data with affected versions of libnfs or apply any vendor-recommended mitigations once published.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-10-12T03:00:29.548Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6acc519d2cdf04f656596462
Added to database: 10/12/2026, 03:18:53 UTC
Last enriched: 10/12/2026, 03:33:15 UTC
Last updated: 10/12/2026, 03:33:51 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.