CVE Catalog

CVE-2026-0897

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

A vulnerability in the HDF5 weight loading component of Google Keras 3.0.0 through 3.13.0 allows a remote attacker to cause a Denial of Service (DoS) via memory exhaustion and a crash of the Python interpreter. The attack involves a crafted .keras archive containing a model.weights.h5 file with an extremely large dataset shape declaration.

Risk Assessment

The organization faces the risk of service disruption in applications using Keras for model processing, potentially leading to service unavailability and financial losses.

Recommendation

Immediately update Keras to version 3.14.0 or later, which includes a fix to throttle resource allocation. In the meantime, validate dataset sizes in .keras files before loading them.

Other vulnerabilities in Keras

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS