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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| h5io | h5io | >= 0.1.0, < 0.2.6 |
References
- https://github.com/h5io/h5io/blob/h5io-0.2.5/h5io/_h5io.py#L601-L604
- https://github.com/h5io/h5io/commit/afff1d61b31790f8c27e6c577bb7703eb1883ddd
- https://github.com/h5io/h5io/releases/tag/h5io-0.2.6
- https://github.com/h5io/h5io/security/advisories/GHSA-vwvw-f6v4-w737
- https://www.vulncheck.com/advisories/h5io-before-0.2.6-arbitrary-code-execution-via-read-hdf5
- https://github.com/h5io/h5io/security/advisories/GHSA-vwvw-f6v4-w737
Timeline
- Published
- Nov 5, 2026
- Last modified
- Nov 12, 2026
- NVD status
- Deferred