CVE-2026-108985

Published Oct 12, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
ZDR decoding in libnfs through 6.0.2 before 7613236 has an out-of-bounds write related to lib/libnfs-zdr.c with libnfs_zdr_bytes(), libnfs_zdr_string(), and libnfs_zdr_array(). The caller-supplied maxsize value is not honored.

Analysis

AI-generated

Technical impact

libnfs includes a ZDR decoding routine that writes beyond the allocated buffer. The caller-supplied maxsize parameter is ignored, allowing an attacker to supply oversized data that overflows the buffer in libnfs_zdr_bytes, libnfs_zdr_string, and libnfs_zdr_array. This out‑of‑bounds write can corrupt memory, potentially leading to a local or remote code execution or crash if the library is used to process untrusted input.

Affected Systems

The vulnerability exists in sahlberg’s libnfs library versions up to 6.0.2, including all builds that incorporate the pre‑commit code. Any software or system that links against libnfs before the commit 7613236 is impacted. Systems using libraries derived from those versions without the patch are at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. Although the EPSS score is not available and the vulnerability is not listed in KEV, the potential for memory corruption means an attacker with sufficient privileges or control over data processed by libnfs could exploit the flaw. Likely attack vectors include local users submitting crafted ZDR data or remote callers interacting with services that parse ZDR payloads, but exact exploitation conditions depend on how the library is used.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libnfs to a version that incorporates commit 7613236 (v6.0.3 or later).
  • Verify that all bundled or external copies of libnfs have been replaced with the patched version.
  • Audit applications that invoke ZDR decoding functions to ensure they only process trusted data or otherwise sandbox the operation.

Generated by OpenCVE AI on October 12, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9008-1 libnfs vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sahlberg
Sahlberg libnfs
Vendors & Products Sahlberg
Sahlberg libnfs
Type Values Removed Values Added
Description ZDR decoding in libnfs through 6.0.2 before 7613236 has an out-of-bounds write related to lib/libnfs-zdr.c with libnfs_zdr_bytes(), libnfs_zdr_string(), and libnfs_zdr_array(). The caller-supplied maxsize value is not honored.
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 13, 2026, 2:24 PM
Reserved
Oct 12, 2026, 3:00 AM
Status
Deferred
Published
Oct 12, 2026, 3:17 AM
Modified
Oct 16, 2026, 7:56 PM