PT-2026-3014 · Google · Keras
Sarvesh Patil
·
Published
2026-01-15
·
Updated
2026-05-06
·
CVE-2026-0897
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Keras versions 3.0.0 through 3.13.0
Description
A flaw exists in the HDF5 weight loading component of Keras that allows for a denial of service. An attacker can provide a crafted .keras archive containing a valid model.weights.h5 file. This file declares an extremely large shape, leading to memory exhaustion and a crash of the Python interpreter. The issue affects all platforms.
Recommendations
Update Keras to a version newer than 3.13.0.
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Keras