Description
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.
Published: 2026-09-04
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The netcdf-c library contains a buffer overflow in the NC4_HDF5_inq_attname function. When the function reads an HDF5 attribute name, it copies the name into a fixed 256-byte buffer without validating the length. A crafted HDF5 file with an attribute name longer than 256 bytes will overflow the buffer, corrupting adjacent memory and causing the application to crash whenever it enumerates attributes. This overflow corrupts memory and can cause the application to crash when attributes are enumerated. No further exploitation is described in the available data.

Affected Systems

All versions of Unidata netcdf-c up to and including 4.10.1 are affected. The product, netcdf-c, is widely used by scientific and geospatial software that reads or writes HDF5 files.

Risk and Exploitability

The CVSS score of 8.5 highlights high severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by supplying a malicious HDF5 file to any application that links against the vulnerable library to enumerate attribute names. Based on the description, the attack vector may be local or remote depending on whether the target application processes user-supplied files; successful exploitation results in memory corruption and crashes.

Generated by OpenCVE AI on September 4, 2026 at 23:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest version of Unidata netcdf-c (4.10.2 or later) that contains the buffer-overflow fix.
  • If an upgrade cannot be performed immediately, configure or modify applications to reject HDF5 files that contain attribute names longer than 256 characters or to validate attribute name lengths before calling the function.
  • Apply standard memory-protection techniques such as address-space layout randomization and stack canaries to any software that links against the vulnerable library, reducing the risk that a memory-corruption attempt succeeds.

Generated by OpenCVE AI on September 4, 2026 at 23:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Unidata netcdf-c through 4.10.1 Out-of-bounds Write via Oversized HDF5 Attribute Name
First Time appeared Unidata
Unidata netcdf
Weaknesses CWE-787
CPEs cpe:2.3:a:unidata:netcdf:*:*:*:*:*:*:*:*
Vendors & Products Unidata
Unidata netcdf
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T22:38:46.036Z

Reserved: 2026-09-04T22:17:23.895Z

Link: CVE-2026-86095

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T23:18:03.220

Modified: 2026-09-04T23:18:03.220

Link: CVE-2026-86095

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T23:45:17Z

Weaknesses