Denial of servicein Google Keras.
Proof of concept public (GitHub).
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.
- Upgrade keras (PyPI) to 3.12.1, 3.13.1, 3.13.2 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Jan 2026CVE ID reserved by Google.
- 15 Jan 2026Published in the CVE List.
- 29 Mar 2026First public proof of concept on GitHub.
- 15 Jul 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Keras vulnerabilities
Same weakness: Allocation without limits
- github.com
- access.redhat.com vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com issue-tracking, x_refsource_REDHAT
- security.access.redhat.com x_sadp-csaf-vex
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2026-0897: Denial of service in Google Keras. https://patchminder.com/cve/cve-2026-0897/ (accessed 5 December 2026).