CVE-2026-108958 TensorLayer HDF5 Loading utils.py load_hdf5_graph deserialization

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via unsafe deserialization in TensorLayer's HDF5 loading function, requiring immediate mitigation due to public exploit availability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-108958?

CVE-2026-108958 is a medium-severity unsafe deserialization vulnerability in TensorLayer, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A weakness has been identified in TensorLayer up to 2.2.4. This affects the function load_hdf5_graph of the file tensorlayer/files/utils.py of the component HDF5 Loading. Executing a manipulation of the argument model_config can lead to deserialization. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2026-108958?

How do I fix CVE-2026-108958?

No fix has been published for CVE-2026-108958 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-108958 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108958 exists.

Sources

Also known as GHSA-8vxw-f7hc-g4ph.

Is CVE-2026-108958 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free