ZDI-CAN-27267: ZDI-25-1152: (0Day) 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-14934.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27267?
The vulnerability ZDI-CAN-27267 is considered critical as it allows remote code execution.
How do I fix ZDI-CAN-27267?
To fix ZDI-CAN-27267, update NSF Unidata NetCDF-C to the latest version provided by the vendor.
What type of vulnerability is ZDI-CAN-27267?
ZDI-CAN-27267 is a remote code execution vulnerability that requires user interaction.
What software is affected by ZDI-CAN-27267?
ZDI-CAN-27267 affects installations of NSF Unidata NetCDF-C.
What actions can attackers perform using ZDI-CAN-27267?
Attackers can execute arbitrary code on systems running an affected version of NSF Unidata NetCDF-C.