Technical impact
The vulnerability arises from the H5L__extern_traverse() routine in HDF5, which reads the target file name and object path from external link data using strlen() without validating the buffer size. When the link data is not null‑terminated or is too short, the function reads past the allocated heap buffer until a zero byte is encountered, potentially overreading adjacent heap memory and corrupting the derived object path. This overrun is unbounded and can cause application failure; the data read may also influence which external file the library attempts to access. The primary impact is a denial of service, and there is a risk of exposing unintended memory contents to the external link handler.
Affected Systems
The HDF Group’s HDF5 library versions prior to and including 2.2.0 are affected. Any installation that relies on version 2.2.0 or earlier and can load external links from user‑supplied HDF5 files is vulnerable.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, suggesting limited public exploitation data. The attack requires a crafted HDF5 file containing an external link with malformed data and an application that opens the link. An attacker who can persuade a user or application to load the malicious file can trigger the vulnerability, leading to denial of service or unintended access to adjacent heap data. Since the flaw is triggered by local file usage, it is considered a local or file‑based threat rather than a remote network attack.