Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Unidata | netcdf-c | ≤ 4.10.1 | — |
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 | No fix yet | — |
| 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 24.04 LTS | netcdf +1 | No fix yet | — |
| Ubuntu 22.04 LTS | netcdf +1 | No fix yet | — |
| Ubuntu 20.04 LTS | netcdf +1 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | netcdf | No fix yet | — |
| Ubuntu 16.04 LTS | netcdf | No fix yet | — |
| Ubuntu 14.04 LTS | netcdf | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | netcdf +9 | 4.7.4-150600.15.5.1 | SUSE-SU-2026:4249-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | netcdf | No fix yet | — |
Advisories 1
- SUSE-SU-2026:4249-1 Security update for netcdf SUSE / openSUSE Security Updates · Sep 18, 2026
References
- https://github.com/Unidata/netcdf-c product
- NC4_HDF5_inq_attname() unbounded strcpy at v4.10.1 technical-description
- VulnCheck Advisory: Unidata netcdf-c through 4.10.1 Out-of-bounds Write via Oversized HDF5 Attribute Name third-party-advisory