---
id: CVE-2026-108985
title: >-
  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()
summary: >-
  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.
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'
cwe:
  - CWE-787
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T03:17:18.837'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108985'
references:
  - url: >-
      https://github.com/sahlberg/libnfs/commit/7613236464317bee2d9636f087f995148de4db27
    label: cve@mitre.org
tags:
  - nvd
ingestedAt: '2026-10-12T14:50:34.078Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
