h5io before 0.2.6 Arbitrary Code Execution via read_hdf5
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 5, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 2, 2026
Description
h5io before 0.2.6 contains a code injection vulnerability in read_hdf5() that allows attackers to execute arbitrary code by supplying a crafted HDF5 file. Attackers can store Python code in a node titled timezone, which _triage_read() passes to eval() with builtins reachable, name an arbitrary module in class or custom-object nodes that _import_class() imports, or place pickled objects in pd_dataframe or pd_series nodes that pandas deserializes on read.
| Product | Versions |
|---|---|
| h5io h5io | 0.1.0 to before 0.2.6 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
References
- GitHub Security Advisory (GHSA-vwvw-f6v4-w737)Vendor Advisory
- https://github.com/h5io/h5io/commit/afff1d61b31790f8c27e6c577bb7703eb1883dddPatch
- h5io h5io-0.2.6 Release NotesRelease Notes
- https://github.com/h5io/h5io/blob/h5io-0.2.5/h5io/_h5io.py#L601-L604Technical Details
- VulnCheck Advisory: h5io before 0.2.6 Arbitrary Code Execution via read_hdf5Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.