CVE-2026-0897

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductKeras
PublishedJan 15, 2026
First seenJan 15, 2026

How to fix

Affected products

ProductAffected versionsFixed in
keras keras3.0.0 ≤ v ≤ 3.13.0—
kerasPyPI3.0.0 ≤ v < 3.12.1, 3.13.0 ≤ v < 3.13.2, 3.0.0 ≤ v < 3.13.13.12.1, 3.13.2, 3.13.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.