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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netcdf +1 | 1:4.10.1-1 | — |
| Debian 13 | netcdf +1 | No fix yet | — |
| Debian 12 | netcdf +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |