Skip to content
DayZeroHub
Critical CVSS 9.8CVE-2026-134019

PyTables: code execution via auto-unpickled HDF5 attributes (CVE-2026-134019)

PyTables PyTables

Summary

PyTables 3.11.1 and earlier unpickle certain HDF5 file attributes when they are accessed, which can allow code execution if a crafted file is opened. The source rates it critical (CVSS 3.1: 9.8) and states that no fixed version is available.

What happened

In PyTables 3.11.1 and earlier, tables/attributeset.py treats a NumPy bytes scalar ending in a period as a pickled Python object and calls pickle.loads() when the attribute is accessed through AttributeSet.__getattr__ or AttributeSet.__getitem__. Opening an attacker-controlled HDF5 file and reading an affected metadata attribute can execute attacker-controlled code in the consumer's process. The weakness is classified as CWE-502 (deserialization of untrusted data).

Why it matters

The source describes that code could run inside the process of the application reading the file. The CVSS 3.1 score is 9.8 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), assigned by CNA:GitHub_M, and the severity is critical. CISA's KEV catalog does not list this vulnerability as exploited; the source provides no indication of active exploitation.

Affected products and versions

PyTables (vendor: PyTables): versions <= 3.11.1.

ProductVersionsFixed in
PyTables PyTables<= 3.11.1—

Action recommended by the source

The source states that no fixed version is available as of the review and does not specify a concrete mitigation. Readers can follow the vendor advisory (GHSA-3r7g-mq96-7hhc), the GitHub confirmation and the project's release notes for updates: https://github.com/PyTables/PyTables/security/advisories/GHSA-3r7g-mq96-7hhc

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-502

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources