CVE-2026-0897
published high CVSS 4.0 · 7.1Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | Keras3.0.0 through 3.13.0 · Other versions: unaffected | Affected | Not stated | ||
| Red Hat | — | rhoai/odh-modelmesh-runtime-adapter-rhel9Red Hat OpenShift AI 2.25 · 1772094445 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 2.25 · 1772093304 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 2.25 · 1772093283 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 2.25 · 1772093300 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 2.25 · 1772093272 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1771502897 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.3 · 1771502844 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1771502910 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.3 · 1771502884 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhtas/model-transparency-rhel9Red Hat Trusted Artifact Signer 1.3 · 1772614635 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-agent-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-controller-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-router-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-storage-initializer-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-modelmesh-runtime-adapter-rhel8Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Keras. A remote attacker can cause a Denial of Service (DoS) by providing a specially crafted .keras archive containing a model weights file (model.weights.h5) that declares an extremely large data shape. This can lead to excessive memory allocation, resulting in memory exhaustion and a crash of the Python interpreter.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Keras | 3.0.0 through 3.13.0 (affected · semver)Default: unaffected | Google · cna | |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772094445 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093304 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093283 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093300 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093272 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1771502897 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1771502844 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1771502910 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1771502884 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Trusted Artifact Signer 1.3 | 1772614635 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-770 Allocation of Resources Without Limits or Throttling
References
7- 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
- RHBZ#2430027 https://bugzilla.redhat.com/show_bug.cgi?id=2430027
- https://github.com/keras-team/keras/pull/21880
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0897.json
Provider assertions
3Google · cna
Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
redhat-SADP · adp
Keras: Keras: Denial of Service via crafted HDF5 weight loading file
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 17cf6b1959829b0a76153f551fb7e8c15862def29457cf4f1d9f6e71b7b2bef1
- Ingested
- 23 Sep 2026, 08:59:58 UTC
- Source record
- Official CVE record