| Name | CVE-2025-14935 |
| Description | NSF Unidata NetCDF-C Dimension Name Heap-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 dimension 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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27168. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1123960, 1123961 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| netcdf (PTS) | bullseye | 1:4.7.4-1 | vulnerable |
| bookworm | 1:4.9.0-3 | vulnerable |
| forky, sid, trixie | 1:4.9.3-1 | vulnerable |
| netcdf-parallel (PTS) | bullseye | 1:4.7.4-1 | vulnerable |
| bookworm | 1:4.9.0-1 | vulnerable |
| forky, sid, trixie | 1:4.9.3-2 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[trixie] - netcdf <postponed> (Minor issue, revisit when fixed upstream)
[bookworm] - netcdf <postponed> (Minor issue, revisit when fixed upstream)
[trixie] - netcdf-parallel <postponed> (Minor issue, revisit when fixed upstream)
[bookworm] - netcdf-parallel <postponed> (Minor issue, revisit when fixed upstream)
https://www.zerodayinitiative.com/advisories/ZDI-25-1154/
https://github.com/Unidata/netcdf-c/issues/3236