Skip to main content

CVE-2026-108985: CWE-787 Out-of-bounds Write in sahlberg libnfs

0
High
VulnerabilityCVE-2026-108985cvecve-2026-108985cwe-787
Published: 10/12/2026 (10/12/2026, 03:00:30 UTC)
Source: CVE Database V5
Vendor/Project: sahlberg
Product: 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

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

Affected software

sahlberg

libnfs

Affected versions
>=0 <=6.0.2=0
GitHub Actionsmore threats →cve
libnfs
pkg:github/libnfs
Affected versions
>=0 <=6.0.2=0

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: 10/12/2026, 03:33:15 UTC

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.

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