CVE-2025-14935 NSF Unidata NetCDF-C Dimension Name Heap-based Buffer Overflow Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code via a heap-based buffer overflow in NetCDF-C when parsing dimension names from malicious files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-14935?
CVE-2025-14935 is a high-severity memory corruption vulnerability in NSF Unidata NetCDF-C, published on 23 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2025-14935?
It affects 1 product.
Products include Unidata Netcdf.
How do I fix CVE-2025-14935?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-14935 being exploited?
There is no known exploitation of CVE-2025-14935 in the wild and no public exploit code.
Other vulnerabilities in NSF Unidata NetCDF-C
- CVE-2025-14932 NSF Unidata NetCDF-C Time Unit Stack-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2025-14933 NSF Unidata NetCDF-C NC Variable Integer Overflow Remote Code Execution Vulnerability
- CVE-2025-14934 NSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2025-14936 NSF Unidata NetCDF-C Attribute Name Stack-based Buffer Overflow Remote Code Execution Vulnerability
Sources
Also known as DEBIAN-CVE-2025-14935, ECHO-cd45-387c-d24d, GHSA-jmhw-q48p-p8p3, UBUNTU-CVE-2025-14935.