CVE-2026-0897

HIGH

Keras < 3.13.0 - Resource Allocation Without Limits

Title source: rule

Description

Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google Keras 3.0.0 through 3.13.0 on all platforms allows a remote attacker to cause a Denial of Service (DoS) through memory exhaustion and a crash of the Python interpreter via a crafted .keras archive containing a valid model.weights.h5 file whose dataset declares an extremely large shape.

Exploits (1)

nomisec WRITEUP
by HyperPS · poc
https://github.com/HyperPS/CVE-2026-0897

Scores

CVSS v3 7.5
EPSS 0.0003
EPSS Percentile 8.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-770
Status published
Products (2)
keras/keras 3.0.0 - 3.13.0
pypi/keras 3.0.0 - 3.13.1PyPI
Published Jan 15, 2026
Tracked Since Feb 18, 2026