# GHSA-XFHX-R7WW-5995

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-15 · Modified: 2026-09-10
- Record: https://cvemate.com/vulnerability/GHSA-XFHX-R7WW-5995 · JSON: https://cvemate.com/vulnerability/GHSA-XFHX-R7WW-5995/json

## Description

```text
Duplicate Advisory: Google Keras Allocates Resources Without Limits or Throttling in the HDF5 weight loading component

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-mgx6-5cf9-rr43. This link is maintained to preserve external references.

### Original Description
Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google Keras 3.0.0 through 3.12.0 and 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.
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Pypi) 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
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- PyPI keras (PyPI): ≥ 3.0.0, \< 3.12.1 \| ≥ 3.13.0, \< 3.13.2

## References

- <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>

---

Data as of 2026-12-05T03:06:10.778Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
