CVE-2026-0897: Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
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.
Security readout for executives and security teams
Plain-English summary
A malicious Keras model archive can make affected systems allocate excessive memory while loading weights, crashing the Python process. Business risk is service interruption in ML pipelines, model upload portals, notebooks, or automation that loads externally supplied .keras files.
Executive priority
Treat as high priority for ML services that process external models. It is primarily an availability risk, but a crash in shared ML infrastructure can interrupt customer workflows, batch processing, or internal analytics.
Technical view
CVE-2026-0897 is CWE-770 in Google Keras 3.0.0 through 3.13.0. The HDF5 weight-loading path may trust dataset shape metadata in a .keras archive, causing memory exhaustion and interpreter crash. CVSS is 7.6 with user interaction required.
Likely exposure
Exposure is most likely where Keras loads model archives from users, partners, CI jobs, model registries, or downloaded artifacts. Systems loading only internally built, trusted models have lower practical exposure.
Exploitation context
The bundle reports no CISA KEV listing and provides no evidence of active exploitation. Exploitation requires a crafted model archive to be loaded by a vulnerable Keras process, so social, workflow, or upload-path delivery matters.
Researcher notes
The source bundle is strong on vulnerability class and impact, but incomplete on exact fixed upstream version. The affected metadata also appears narrower than the narrative description, so verify against vendor advisories before final scoping.
Mitigation direction
Inventory Keras versions and prioritize 3.0.0 through 3.13.0.
Apply applicable Red Hat errata for packaged deployments.
Check Keras vendor guidance for the fixed upstream release.
Do not load untrusted .keras or HDF5 model artifacts.
Run model-loading jobs with memory limits and process isolation.
Validation and detection
Review dependency locks, containers, and notebooks for vulnerable Keras versions.
Map services that accept or import external model archives.
Confirm upload pipelines quarantine untrusted model artifacts before loading.
Verify model-loading workers have enforced memory limits.
Check monitoring for Python worker crashes during model import.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-770: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-770 · source CWE mapping
Allocation of Resources Without Limits or Throttling
Allocation of Resources Without Limits or Throttling represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.