Technical impact
h5io suffers a code injection flaw in its read_hdf5() function. The library passes Python code stored in a HDF5 "timezone" node to eval() with builtins available, imports arbitrary modules when encountering a class or custom-object node, and deserializes pickled pandas objects from pd_dataframe or pd_series nodes. When the vulnerable function processes a maliciously crafted HDF5 file, the embedded code executes under the privileges of the process that imports the library, allowing an attacker to gain full control of the system and compromise data integrity.
Affected Systems
Any installation of the h5io Python package older than version 0.2.6 is vulnerable. Users who use h5io to read external or untrusted HDF5 files in data pipelines, scientific workflows, or analysis scripts could be exposed.
Risk and Exploitability
The CVSS score of 8.5 indicates high severity. The EPSS score is unavailable, so the exact exploitation probability cannot be quantified. The likely attack vector is local file tampering or gain of code execution when untrusted files are processed by read_hdf5, a scenario that is inferred from the description, but that inference is not directly stated in the CVE data. The vulnerability is not listed in the CISA KEV catalog, but it remains a serious risk for any environment that accepts or processes external HDF5 files.