Skip to main content

Unidata netcdf-c CVE-2026-86095

| EUVDEUVD-2026-71788 HIGH
Out-of-bounds Write (CWE-787)
2026-09-04 VulnCheck GHSA-mm3m-jp7w-cj3m
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft HDF5 file with 256+ byte attribute name
  2. Delivery
    Deliver file to target pipeline or user
  3. Exploit
    Application calls nc_inq_attname / NC4_HDF5_inq_attname
  4. Execution
    Fixed 256-byte buffer overflowed by attribute name copy
  5. Persist
    Stack/heap memory corruption
  6. Impact
    Process crash or arbitrary code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must use the netcdf-c HDF5 storage backend (the NC4/HDF5 code path must be compiled in and invoked) and must call attribute-enumeration functions (nc_inq_attname or equivalent) on a file provided by or influenced by the attacker. UI:P in the CVSS 4.0 vector confirms that passive user or pipeline interaction - opening and processing the file - is required; the attacker cannot trigger the overflow without the target consuming the file. No authentication or special system privileges are needed beyond the ability to deliver the crafted HDF5 file to the target host or storage location. Exploitation is not restricted to a specific OS or architecture. Hardening flags (stack canaries, ASLR, FORTIFY_SOURCE) may prevent reliable code execution but do not prevent the crash. The vulnerability does not affect applications that use netcdf-c exclusively with classic NetCDF-3 format files and never invoke the HDF5 backend.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) accurately captures the file-based delivery model: an attacker needs no privileges and faces no special configuration requirements, but a user or automated pipeline must open and process the crafted HDF5 file. Attack complexity is low - no heap grooming or race conditions are described; the overflow is deterministic once attribute name length exceeds 256 bytes. The impact triple VC:H/VI:H/VA:H reflects that memory corruption of this kind routinely enables RCE in addition to guaranteed crashes. No CISA KEV listing and no confirmed public POC exist, which moderates immediate urgency. However, netcdf-c is a foundational library in scientific computing stacks (GDAL, Python's netCDF4, MATLAB, R's ncdf4, HPC pipelines), meaning the attack surface includes any automated data-ingestion workflow accepting third-party HDF5 datasets - a realistic threat for earth-science, weather, and satellite data pipelines that regularly ingest external files. EPSS data was not provided; exploitation probability is inferred as low-to-moderate given no weaponized code confirmed.

Exploit ScenarioDerived

A threat actor targeting a climate data ingestion pipeline crafts an HDF5 file containing an attribute with a name exceeding 256 bytes and submits it through an external data portal or shared network storage path. When an automated processing job calls the netCDF attribute enumeration API on the malicious file, NC4_HDF5_inq_attname() copies the oversized name past the end of the fixed buffer, corrupting the stack frame. Depending on memory layout and compiler hardening, this causes the pipeline process to crash (guaranteed) or potentially executes attacker-controlled code in the context of the processing service account. No public exploit code has been confirmed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 04, 2026

Out-of-bounds write in Unidata netcdf-c through 4.10.1 allows an attacker who can supply a crafted HDF5 file to corrupt process memory when the application enumerates HDF5 attribute names. The vulnerable function NC4_HDF5_inq_attname() in libhdf5/hdf5attr.c blindly copies HDF5-returned attribute names into a fixed 256-byte destination buffer without validating the source length, a classic CWE-787 stack/heap corruption sink. No public exploit code or CISA KEV listing has been identified at time of analysis, but the deterministic nature of the overflow and the wide use of netcdf-c in scientific pipelines make this a meaningful risk for any application that processes externally-sourced HDF5 data.

RemediationAI

No vendor-released patch version has been identified at time of analysis - the references point only to the upstream repository and the VulnCheck advisory without citing a fixed release. Monitor the Unidata netcdf-c GitHub repository (https://github.com/Unidata/netcdf-c) for a patched release and apply it immediately when available. In the interim, the most effective compensating control is to refuse to process HDF5 files from untrusted or unverified sources - apply strict allowlisting on file origin at the application or pipeline level. For automated ingestion pipelines, run netcdf-c-based processing in a sandboxed, unprivileged container or VM with no network access and read-only mounts outside the working directory, limiting blast radius of memory corruption to the sandbox. Disabling HDF5 backend support at compile time (if only classic NetCDF-3 formats are needed) eliminates the vulnerable code path entirely but may break compatibility with HDF5-format datasets. Exploit impact can also be reduced by compiling with modern hardening flags (stack canaries, FORTIFY_SOURCE, ASLR) if not already enabled, though these are mitigations, not fixes.

Affected VersionsENISA

NetCDF-C 0 ≤4.10.1

Affected Packages

euvd netcdf_c no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Unidata netcdf-c is the reference C library for the Network Common Data Form (NetCDF) scientific data format, widely used in climate science, atmospheric modeling, oceanography, and geoscience toolchains. The library supports an HDF5 storage backend, implemented in libhdf5/hdf5attr.c. The function NC4_HDF5_inq_attname() wraps the HDF5 library's attribute enumeration API and is responsible for returning the name of a given attribute index to the caller. The flaw is that it copies the HDF5-provided name string into a statically-sized 256-byte buffer (likely via strcpy or equivalent) without first checking the source length. CWE-787 (Out-of-Bounds Write) captures this root cause: data written beyond the allocated buffer corrupts adjacent memory, which in a stack context can overwrite return addresses or frame pointers, and in a heap context can corrupt allocator metadata, both enabling potential code execution beyond guaranteed crash.

Know when Unidata gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

File-based local delivery requires user interaction (UI:R); no privileges needed; memory corruption enables all three high-impact outcomes.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Unidata netcdf-c library versions 4.10.1 and earlier contain an out-of-bounds memory write vulnerability triggered by processing malicious HDF5 data files, affecting organizations that ingest external scientific data. This flaw poses risk of application crashes, data corruption, or potential system compromise with no vendor patch currently available. Organizations in scientific research, climate modeling, geophysics, and other HDF5-dependent domains require immediate containment measures.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict HDF5 sources to validated internal producers; implement upstream file validation and integrity checks before netcdf-c processing; sandbox HDF5 processing in isolated containers to contain potential compromise; enable detailed application logging and crash monitoring for exploitation detection; maintain isolated test environment for immediate validation of security patches upon release.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
foundational scientific data library, common in research and HPC
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 SP5 Affected
SUSE Linux Enterprise Module for HPC 12 Affected
SUSE Linux Enterprise Server 12 SP5 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy