CVE-2026-0897
Duplicate Advisory: Google Keras Allocates Resources Without Limits or Throttling in the HDF5 weight loading component
7.5
HIGH
CVSS 3.1
EPSS 0.04%
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.
How to fix CVE-2026-0897
To remediate CVE-2026-0897, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 3.12.1 or later
- —upgrade to 3.12.1 or later
- —upgrade to 3.13.1 or later
Is CVE-2026-0897 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0
- >= 3.0.0, < 3.12.1
- >= 3.0.0, < 3.12.1
- >= 3.0.0, < 3.13.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |