---
id: CVE-2026-86095
title: >-
  Unidata netcdf-c through 4.10.1 contains an out-of-bounds write vulnerability
  in NC4_HDF5_inq_attname() that copies HDF5 attribute names into a fixed
  256-byte buffer without length validation
summary: >-
  Unidata netcdf-c through 4.10.1 contains an out-of-bounds write vulnerability
  in NC4_HDF5_inq_attname() that copies HDF5 attribute names into a fixed
  256-byte buffer without length validation. Attackers can craft HDF5 files with
  oversize…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: Unidata
product: netcdf-c
affected:
  - netcdf-c <= 4.10.1
published: '2026-09-04'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:43:32.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86095'
references:
  - url: 'https://github.com/Unidata/netcdf-c'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Unidata/netcdf-c/blob/v4.10.1/libhdf5/hdf5attr.c'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/unidata-netcdf-c-through-4.10.1-out-of-bounds-write-via-oversized-hdf5-attribute-name
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00184
epssPercentile: 0.07083
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-08T17:44:45.853980Z'
ingestedAt: '2026-09-08T19:08:49.595Z'
---

## Overview

Unidata netcdf-c through 4.10.1 contains an out-of-bounds write vulnerability in NC4_HDF5_inq_attname() that copies HDF5 attribute names into a fixed 256-byte buffer without length validation. Attackers can craft HDF5 files with oversized attribute names to overflow the destination buffer, causing memory corruption and crashes when applications enumerate attribute names.

## Remediation

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