ZDI-CAN-27168: ZDI-25-1154: (0Day) 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.
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-14935.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27168?
The severity of ZDI-CAN-27168 is rated high with a score of 7.8.
How do I fix ZDI-CAN-27168?
To fix ZDI-CAN-27168, ensure you update NSF Unidata NetCDF-C to the latest version provided by the vendor.
What is the impact of ZDI-CAN-27168?
The impact of ZDI-CAN-27168 is remote code execution, allowing attackers to execute arbitrary code on affected systems.
Is user interaction required to exploit ZDI-CAN-27168?
Yes, user interaction is required as the target must visit a malicious page or open a malicious file.
Which software is affected by ZDI-CAN-27168?
ZDI-CAN-27168 affects the NSF Unidata NetCDF-C software.