Skip to main content
Menu
CVEs

PyTables remote code execution via unpickling HDF5 attributes

Affects PyTables (tables) 3.12 or earlier when an HDF5 attribute stored as a numpy.bytes_ value ending in a period is read from an untrusted file. No fixed version is listed.

CVE-2026-134019Published November 24, 2026, updated

9.8CriticalCNA
Exploited
No known exploitation
Fix
See vendor advisory
Who is exposed
Default setups

Summary

PyTables, a Python package for managing very large amounts of data, has a flaw that lets an attacker run arbitrary code in the process of anyone who opens a crafted HDF5 file and reads one of its metadata attributes. The attacker can reach it remotely, without logging in.

Written by a model

Original description

PyTables is a Python package to manage extremely large amounts of data. In 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. No fixed version is available as of this review.

Who should check

Teams opening untrusted HDF5 files with PyTables 3.12 or earlier, including pandas.read_hdf users

Not fixed by: Upgrading to 3.12 alone does not stop unpickling; it stays on by default.

“tables (PyTables) <= 3.12”

github.com

What to do

  1. Check every install: default setups are affected.

  2. Workaround: The sources give no workaround. Avoid opening HDF5 files from untrusted sources with PyTables, since reading their attributes is the affected step.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-134019 (PyTables: Remote code execution via auto-unpickled HDF5 attributes), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-134019 (entry last updated 2026-11-24):
Affected:
- PyTables PyTables: through 3.11.1
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- PyTables (tables) version 3.12 or earlier (source: https://github.com/PyTables/PyTables/security/advisories/GHSA-3r7g-mq96-7hhc)
- An attribute stored as a numpy.bytes_ value ending in a period is read through AttributeSet, which unpickles it (source: https://github.com/PyTables/PyTables/security/advisories/GHSA-3r7g-mq96-7hhc)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-134019 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-134019 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/PyTables/PyTables/security/advisories/GHSA-3r7g-mq96-7hhc
- https://github.com/PyTables/PyTables/commit/8ae7154191676c2ab12ba36450972d0be77efde3
- https://github.com/PyTables/PyTables/blob/967fb5120dffd7768bf7f3fec14b04f169335ec5/RELEASE_NOTES.rst#L156-L178
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-134019
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-134019"}.

Affected versions

cve.now Index

37Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure22/25Default setups, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity9.8/10CVSS 9.8
  • No patch5/5No fixed version listed; see vendor advisory

What would change the score

  • Would score about 77 if added to CISA KEV
  • Would score about 72 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Evidence 5

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · PyTables/PyTables · Advisory GHSA-3r7g-mq96-7hhc
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-134019
RecordNVD · CVE-2026-134019
Other links 2
RepositoryGitHub · PyTables/PyTables · Commit 8ae71541
RepositoryGitHub · PyTables/PyTables · RELEASE_NOTES.rst · L156-L178

Questions about CVE-2026-134019

Is CVE-2026-134019 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Reading certain metadata attributes in an HDF5 file can run attacker-controlled code inside the process that reads the file. The attribute is a numpy.bytes_ value ending in a period, which AttributeSet unpickles automatically.

Source: github.com

Which versions are affected by CVE-2026-134019?

PyTables: through 3.11.1.

Source: cve.now feed data

Am I affected, and how do I check?

The condition text names PyTables (tables) 3.12 or earlier, while the product range lists 3.11.1 as the last affected version, so the sources differ on the exact boundary. To check a version, run python -c "import tables; print(tables.__version__)". The affected feature is reading attributes from HDF5 files, which is handled through AttributeSet.

Source: github.com

How do I fix CVE-2026-134019?

The sources do not name a fixed version or vendor patch identifiers for this vulnerability. Until one is published, check the vendor's PyTables release notes for a fix.

Source: github.com

What if there's no patch?

The sources give no workaround. Avoid opening HDF5 files from untrusted sources with PyTables, since reading their attributes is the affected step.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.