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.
Severity (CVSS)
| Base score | 8.5 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-95 — Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-502 — Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| h5io | h5io | 0.1.0 to <0.2.6 [affected] |
References
- https://github.com/h5io/h5io/security/advisories/GHSA-vwvw-f6v4-w737 (vendor-advisory)
- https://github.com/h5io/h5io/commit/afff1d61b31790f8c27e6c577bb7703eb1883ddd (patch)
- https://github.com/h5io/h5io/releases/tag/h5io-0.2.6 (release-notes)
- https://github.com/h5io/h5io/blob/h5io-0.2.5/h5io/_h5io.py#L601-L604 (technical-description)
- https://www.vulncheck.com/advisories/h5io-before-0.2.6-arbitrary-code-execution-via-read-hdf5 (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 06 Nov 2026 08:03 UTC.