CVE-2026-0897
January 15, 2026
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.
Affected Packages
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.13.1Fix Suggestion:
Update to version v3.13.1keras (PYTHON):
Affected version(s) >=3.0.0 <3.13.1Fix Suggestion:
Update to version 3.13.1keras (PYTHON):
Affected version(s) =3.13.0 <3.13.1Fix Suggestion:
Update to version 3.13.1keras (PYTHON):
Affected version(s) >=3.0.0 <3.12.1Fix Suggestion:
Update to version 3.12.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.03