CVE-2026-0897
Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
- State
- Published
- Severity
- 7.1 High
- Published
- Jan 15, 2026
- Updated
- Jul 15, 2026
- Reserved
- Jan 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| 3.1 | 7.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | redhat-SADP |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected Products
| Product | Versions |
|---|---|
KerasGoogle |
|
References
- https://github.com/keras-team/keras/pull/21880
- https://access.redhat.com/security/cve/CVE-2026-0897vdb-entry
- RHBZ#2430027issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0897.json
- https://access.redhat.com/errata/RHSA-2026:3782vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3713vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4271vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.