Technical impact
HDF5 through version 2.2.0 contains an uncontrolled recursion flaw in the internal B‑tree iteration routine. When a version‑1 B‑tree contains a child node that points back to a node already present in the metadata cache, the level verification performed during node loading is skipped. The recursive helper routine then recurses without bound, exhausting the call stack and causing the process to terminate. The vulnerability is a CWE‑674 (Unchecked Recursion) and CWE‑835 (Uncontrolled Recursion) fault, which results solely in a denial of service – no code execution or privilege escalation can occur.
Affected Systems
The affected product is HDF5 from the HDF Group. All releases up to and including 2.2.0 are vulnerable. Any application that opens an HDF5 file – such as scientific, engineering, or data‑analysis software – can trigger the fault if the file is maliciously crafted. Systems that process untrusted HDF5 files, even locally, are at risk.
Risk and Exploitability
The CVSS base score of 4.3 indicates moderate severity. Exploitation requires the victim to open a specially crafted HDF5 file, so the attack vector is local or user‑initiated file access; remote exploitation is not evident. The EPSS score of less than 1% shows a very low but non‑zero probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, the impact is a full denial of service for the affected process and should be addressed promptly.