CVE-2026-0897

HIGH

Keras 3.0.0-3.13.0 - Denial of Service via HDF5 Weight Loading

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-0897. PoCs published by HyperPS.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-0897, a Denial of Service vulnerability in Google Keras due to unbounded memory allocation when loading HDF5 weight files with malicious shape metadata. It includes root cause analysis, CVSS breakdown, and a partial PoC generation script.

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.

Exploits (1)

nomisec WRITEUP
by HyperPS · poc
https://github.com/HyperPS/CVE-2026-0897

This repository provides a detailed technical analysis of CVE-2026-0897, a Denial of Service vulnerability in Google Keras due to unbounded memory allocation when loading HDF5 weight files with malicious shape metadata. It includes root cause analysis, CVSS breakdown, and a partial PoC generation script.

Classification
Writeup 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Google Keras 3.0.0–3.13.0
No auth needed
Prerequisites: Victim must load a malicious .keras archive
devstral-2 · analyzed Apr 09, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0003
EPSS Percentile 10.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-770
Status published
Products (3)
keras/keras 3.0.0 - 3.13.0
pypi/keras 3.0.0 - 3.12.1PyPI
pypi/keras 3.13.0 - 3.13.2PyPI
Published Jan 15, 2026
Tracked Since Feb 18, 2026