Skip to content
OpenAdvisories
High · 7.8 CVE-2025-14934 EUVD-2025-204812GHSA-cxvx-7fc3-h99x

NSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Dec 23, 2025 · Updated Dec 26, 2025 · Assigned by zdi

Description

NSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of NSF Unidata NetCDF-C. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of variable names. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27267.

Affected products

VendorProductAffectedFixed
NSF Unidata NetCDF-C dbe0cbb9ff3f706009cf4ee011adf3e58d8a81c1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netcdf +1 1:4.10.1-1 —
Debian 13 netcdf +1 No fix yet —
Debian 12 netcdf +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 netcdf +1 No fix yet —
Ubuntu 26.04 LTS netcdf +1 No fix yet —
Ubuntu 25.10 netcdf +1 No fix yet —
Ubuntu 24.04 LTS netcdf +1 No fix yet —
Ubuntu 22.04 LTS netcdf +1 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS netcdf +1 No fix yet —
Ubuntu 18.04 LTS netcdf No fix yet —
Ubuntu 16.04 LTS netcdf No fix yet —
Ubuntu 14.04 LTS netcdf No fix yet —

References