patchminder
Proof of concept · GitHub CVE-2026-0897

Denial of servicein Google Keras.

Published 15 Jan 2026 · Updated 15 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 3.12.1, 3.13.1, 3.13.2
In plain words

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.

What to do now
  • Upgrade keras (PyPI) to 3.12.1, 3.13.1, 3.13.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Keras
3.0.0 to 3.13.0
Not confirmed
CVE record
keras (PyPI)
3.0.0 to before 3.12.1
3.12.1
GitHub advisory
keras (PyPI)
3.13.0 to before 3.13.2
3.13.2
GitHub advisory
keras (PyPI)
3.0.0 to before 3.13.1
3.13.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Jan 2026
    CVE ID reserved by Google.
  2. 15 Jan 2026
    Published in the CVE List.
  3. 29 Mar 2026
    First public proof of concept on GitHub.
  4. 15 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundHyperPS/CVE-2026-08970 stars · created 29 Mar 2026Allocation 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 (D

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.

Related

Other Keras vulnerabilities

Same weakness: Allocation without limits

All CWE-770 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-0897: Denial of service in Google Keras. https://patchminder.com/cve/cve-2026-0897/ (accessed 5 December 2026).