7.1High

CVE-2026-0897Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata

Google Keras; Red Hat Red Hat OpenShift AI 2.25; Red Hat Red Hat OpenShift AI 3.3; Red Hat Red Hat Trusted Artifact Signer 1.3 Published: (9 months ago)

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

VendorProductVersions
Google 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

CPE matches (NVD) (1)

  • cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* ≥ 3.0.0 ≤ 3.13.0