CVE-2026-108958

TensorLayer HDF5 Loading utils.py load_hdf5_graph deserialization

Published Oct 13, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In TensorLayer versions up to 2.2.4 the load_hdf5_graph function in utils.py deserializes the model_config argument without validating its content. This flaw permits a remote attacker to craft a malicious model configuration that will be deserialized and executed by the framework, potentially leading to arbitrary code execution or other unintended behavior. The vulnerability resides in the HDF5 loading component and is formally classified as CWE-502: Deserialization of Untrusted Data, as well as CWE-20: Improper Input Validation.

Affected Systems

The affected product is TensorLayer, a deep learning library. All releases up to and including 2.2.4 are affected. No newer releases were specified in the data, so environments running any of these versions that expose the load_hdf5_graph functionality are at risk.

Risk and Exploitability

The CVSS score for this flaw is 5.3, indicating moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalogue. Because the attack can be launched remotely and the exploit code has been publicly released, the risk remains significant as long as the vulnerable component remains in use. No additional mitigations have been released by the vendor, so environments must rely on defensive steps until an official patch is made available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict the load_hdf5_graph API to internal or authenticated users only, eliminating direct exposure to untrusted clients.
  • Validate the structure and type of the model_config payload before deserialization, such as by applying a strict schema or type checks, to prevent the creation of malicious objects.
  • Monitor application logs for abnormal deserialization calls and trigger alerts on suspicious activity, thereby detecting potential exploitation attempts in the interim.

Generated by OpenCVE AI on October 13, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title TensorLayer HDF5 Loading utils.py load_hdf5_graph deserialization
First Time appeared Tensorlayer
Tensorlayer tensorlayer
Weaknesses CWE-20
CWE-502
CPEs cpe:2.3:a:tensorlayer:tensorlayer:*:*:*:*:*:*:*:*
Vendors & Products Tensorlayer
Tensorlayer tensorlayer
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 14, 2026, 1:33 PM
Reserved
Oct 11, 2026, 7:23 PM
Status
Deferred
Published
Oct 13, 2026, 3:16 AM
Modified
Oct 14, 2026, 2:17 PM