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.
Published: 2026-10-13
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Potential remote deserialization enabling arbitrary code execution
Action: Assess Impact
AI Analysis

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.

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

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 yet.

History

Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 02:45:00 +0000

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'}


Subscriptions

Tensorlayer Tensorlayer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-14T13:33:35.919Z

Reserved: 2026-10-11T19:23:43.822Z

Link: CVE-2026-108958

cve-icon Vulnrichment

Updated: 2026-10-14T13:33:28.510Z

cve-icon NVD

Status : Deferred

Published: 2026-10-13T03:16:40.390

Modified: 2026-10-14T14:17:35.940

Link: CVE-2026-108958

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:23:35Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-502

    Deserialization of Untrusted Data