Vulnerability · Published Dec 23, 2025 · Assigned by zdi
CVE-2025-14934NSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution Vulnerability
High 7.8
In plain English
A high-severity stack buffer overflow in NetCDF-C from NSF Unidata. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | netcdf | no fix listed | DEBIAN-CVE-2025-14934 |
| Debian:13 | netcdf | no fix listed | DEBIAN-CVE-2025-14934 |
| Debian:14 | netcdf | 1:4.10.1-1 | DEBIAN-CVE-2025-14934 |
| Debian:12 | netcdf-parallel | no fix listed | DEBIAN-CVE-2025-14934 |
| Debian:13 | netcdf-parallel | no fix listed | DEBIAN-CVE-2025-14934 |
| Debian:14 | netcdf-parallel | 1:4.10.1-1 | DEBIAN-CVE-2025-14934 |
| Ubuntu:22.04:LTS | netcdf | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:24.04:LTS | netcdf | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:25.10 | netcdf | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:26.04:LTS | netcdf | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:26.10 | netcdf | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:22.04:LTS | netcdf-parallel | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:24.04:LTS | netcdf-parallel | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:25.10 | netcdf-parallel | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:26.04:LTS | netcdf-parallel | no fix listed | UBUNTU-CVE-2025-14934 |
| Ubuntu:26.10 | netcdf-parallel | no fix listed | UBUNTU-CVE-2025-14934 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NSF Unidata | NetCDF-C | dbe0cbb9ff3f706009cf4ee011adf3e58d8a81c1 |
Weakness: CWE-121 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-25-1152 x_research-advisory