CVE-2026-120499
Deferred Deferred - Pending Action

Code Injection Vulnerability in h5io Library via Malicious HDF5 Files

Vulnerability report for CVE-2026-120499, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-12

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-12
Generated
2026-11-14
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-13
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
h5io h5io 0.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-120499 is a code injection vulnerability in the h5io library before version 0.2.6. It allows attackers to execute arbitrary code by crafting malicious HDF5 files. The vulnerability occurs in the read_hdf5() function, where user-controlled input is improperly handled. Attackers can exploit this by storing Python code in a timezone node, naming arbitrary modules in class nodes, or placing pickled objects in pandas data nodes.

Detection Guidance

To detect this vulnerability, check if your system uses h5io versions before 0.2.6. Run: pip show h5io. If installed, verify version with pip list | grep h5io. Inspect HDF5 files for suspicious nodes like timezone, class, custom-object, pd_dataframe, or pd_series. Use file inspection tools to analyze file structure for anomalies.

Impact Analysis

This vulnerability can lead to arbitrary code execution, allowing attackers to take control of your system. It may also cause denial of service by crashing applications. If you process untrusted HDF5 files using h5io versions before 0.2.6, your system could be compromised.

Compliance Impact

This vulnerability could lead to arbitrary code execution when processing untrusted HDF5 files, potentially exposing sensitive data. For GDPR, this may result in unauthorized access to personal data, violating principles of data protection and user rights. Under HIPAA, it could compromise protected health information integrity and confidentiality, leading to breaches of compliance requirements.

Mitigation Strategies

Upgrade h5io to version 0.2.6 or later immediately. Avoid processing untrusted HDF5 files. If upgrading is not possible, set allow_pickle=False in read_hdf5 calls. Disable use_state=True for serialization. Review applications using h5io, like MNE-Python, for exposure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120499. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...