What’s Vulnerable › Vulnerabilities
CVE-2026-0897: Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-15 · updated 2026-07-15
- Weakness: CWE-770
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.
Affected products
- keras-team/keras: from 3.0.0 through 3.13.0
References
- https://github.com/keras-team/keras/pull/21880
- https://access.redhat.com/errata/RHSA-2026:3713
- https://access.redhat.com/errata/RHSA-2026:3782
- https://access.redhat.com/errata/RHSA-2026:4271
- https://access.redhat.com/security/cve/CVE-2026-0897
- https://bugzilla.redhat.com/show_bug.cgi?id=2430027
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0897.json
Get alerted when CVE-2026-0897 or the next vulnerability affects your stack