TensorLayer HDF5 Loading deserialization flaw in load_hdf5_graph
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
TensorLayer up to 2.2.4 has a deserialization flaw in the load_hdf5_graph function of tensorlayer/files/utils.py, in the HDF5 Loading component (CWE-502, with CWE-20). Manipulating the model_config argument can lead to deserialization of untrusted data, and the attack can be carried out remotely. A public exploit is available. The project received an early issue report but has not responded, and CVSS 4.0 rates the issue 5.3 (MEDIUM).
Written with Claude Haiku 5.5 from the sources below · 2026-10-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | TensorLayer | 2.2.0; 2.2.1; 2.2.2; 2.2.3; 2.2.4 | — | No fix listed | CNA |
- TensorLayer Vendor— Affected 2.2.0; 2.2.1; 2.2.2; 2.2.3; 2.2.4 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tensorlayer:tensorlayer:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:tensorlayer:tensorlayer:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed release is listed for TensorLayer 2.2.0 through 2.2.4, and the project has not responded to the report. Until a fix is published, do not pass untrusted input as model_config to load_hdf5_graph, and load HDF5 model files only from trusted sources.
Written with Claude Haiku 5.5 from the sources below · 2026-10-27
Timeline
- 2026-10-13 Threatist record created from CVE-2026-108958
- 2026-10-14 CISA SSVC decision points changed
- 2026-10-14 Priority changed: LOW → MEDIUM
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences