Skip to content
Threat Feed
high advisory

Unidata netcdf-c Out-of-Bounds Write Vulnerability

Unidata netcdf-c through version 4.10.1 contains an out-of-bounds write vulnerability in the NC4_HDF5_inq_attname function that can lead to memory corruption and application crashes.

CVE search metadata

CVE search record: CVE-2026-86095. Severity: high. CVSS: 7.8. KEV: no. Product: netcdf-c (<= 4.10.1). Brief: Unidata netcdf-c Out-of-Bounds Write Vulnerability. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-86095/

Unidata netcdf-c versions through 4.10.1 are affected by an out-of-bounds write vulnerability located in the NC4_HDF5_inq_attname function. This vulnerability is triggered when the library copies HDF5 attribute names into a fixed 256-byte buffer without performing necessary length validation. An attacker can exploit this flaw by providing a specially crafted HDF5 file containing an attribute name exceeding the buffer limit. When an application attempts to enumerate attribute names within the malicious file, the buffer overflow occurs. This memory corruption can result in the termination of the host process, potentially leading to denial-of-service conditions or providing a primitives for more complex exploitation depending on the environment where the netcdf-c library is integrated.

Impact

Successful exploitation results in process instability or crashes, impacting any application or research software that utilizes netcdf-c to process HDF5 files. Given that netCDF is widely used in scientific research, climate modeling, and geophysical data analysis, the vulnerability poses a risk to data integrity and availability in environments that process untrusted or externally sourced datasets.

Recommendation

Prioritized actions include identifying software dependencies that utilize the netcdf-c library and planning for updates.

  • Audit systems to identify applications linked against netcdf-c versions up to 4.10.1.
  • Prioritize the update of all software components relying on netcdf-c to a patched version once released by Unidata.
  • Implement file-scanning and validation logic for HDF5 files received from untrusted sources to ensure they adhere to expected format specifications before processing by netcdf-c.

Immediate actions

Inventory all software products utilizing the netcdf-c library for current versions

IT Operations 72h

Mitigations

Upgrade netcdf-c to the next available secure version

medium_term Software Engineering

CVE-2026-86095

Gaps

  • Missing specific fixed version number in current reporting