Skip to content
NewA calmer, faster ZeroHour

CVE-2026-120499

Code injection in h5io before 0.2.6 via crafted HDF5

CVSS 4.0
8.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-120499 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

h5io before 0.2.6 has a code-injection flaw in read_hdf5(). A local attacker needs a user to open a crafted HDF5 file; no privileges are required. Python in a timezone node is passed to eval() with builtins available, a class or custom-object node can name a module that _import_class() imports, or pickled objects in pd_dataframe or pd_series nodes are deserialized by pandas. Users who read untrusted HDF5 files with an affected release can suffer arbitrary code execution.

What to do: Upgrade h5io to 0.2.6 or later.

ProductAffectedFixed in
h5iobefore 0.2.60.2.6
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-95, CWE-502
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

0 stories

No ingested article mentions this CVE yet.