7.1High
CVE-2026-0897Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
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.
Weakness (CWE):
CWE-770
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Keras | 3.0.0 – ≤ 3.13.0 | ||
| keras | keras | 3.0.0 – ≤ 3.13.0 | |
| openshift ai | 2.25 | — | |
| openshift ai | 3.3 | — | |
| Red Hat | Red Hat OpenShift AI 2.25 | all versions | |
| Red Hat | Red Hat OpenShift AI 3.3 | all versions | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | all versions | |
| Red Hat | Red Hat Trusted Artifact Signer 1.3 | all versions | |
| trusted artifact signer | 1.3 | — |
References and patches
- https://github.com/keras-team/keras/pull/21880 Issue TrackingPatch
- 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
CPE matches (NVD) (1)
cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:*≥ 3.0.0 ≤ 3.13.0