CVE-2026-0897
2 advisories.
PyPI/keras CVE-2026-0897: high, EPSS 0.33%
Keras vulnerable to DoS via Malicious .keras Model (HDF5 Shape Bomb Causes Petabyte Allocation in KerasFileEditor)
Action: Upgrade keras to 3.12.1 or later.
pip install keras==3.12.1pip install keras==3.13.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.0.0 | 3.12.1 | - |
| 3.13.0 | 3.13.2 | - |
Fixed versions
| 3.12.1 | 3.13.2 |
Sources
- osv: GHSA-mgx6-5cf9-rr43
- https://github.com/keras-team/keras/security/advisories/GHSA-mgx6-5cf9-rr43
- https://nvd.nist.gov/vuln/detail/CVE-2026-0897
- https://github.com/keras-team/keras/pull/21880
- https://github.com/keras-team/keras/pull/22081
- https://github.com/keras-team/keras/commit/7360d4f0d764fbb1fa9c6408fe53da41974dd4f6
- https://github.com/keras-team/keras/commit/f704c887bf459b42769bfc8a9182f838009afddb
- https://github.com/keras-team/keras
- https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2026-73.yaml
CVE-2026-0897 · published · modified · JSON
PyPI/keras CVE-2026-0897: high 7.5, EPSS 0.33%
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 (D
Action: Upgrade keras to 3.13.1 or later.
pip install keras==3.13.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.0.0 | 3.13.1 | - |
Fixed versions
| 3.13.1 |
Sources
- osv: PYSEC-2026-73
- https://github.com/keras-team/keras/pull/21880
- https://github.com/advisories/GHSA-mgx6-5cf9-rr43
CVE-2026-0897 · published · modified · JSON