{"id":"GHSA-xfhx-r7ww-5995","summary":"Duplicate Advisory: Google Keras Allocates Resources Without Limits or Throttling in the HDF5 weight loading component","details":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mgx6-5cf9-rr43. This link is maintained to preserve external references.\n\n### Original Description\nAllocation 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.","modified":"2026-08-24T00:36:22.953464720Z","published":"2026-01-15T15:31:19Z","withdrawn":"2026-05-06T23:06:56Z","database_specific":{"cwe_ids":["CWE-770"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-01-15T20:11:41Z","nvd_published_at":"2026-01-15T14:16:26Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0897"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/21880"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/22081"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/7360d4f0d764fbb1fa9c6408fe53da41974dd4f6"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/f704c887bf459b42769bfc8a9182f838009afddb"},{"type":"PACKAGE","url":"https://github.com/keras-team/keras"}],"affected":[{"package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.12.1"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.12.0","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-xfhx-r7ww-5995/GHSA-xfhx-r7ww-5995.json"}},{"package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"3.13.2"}]}],"versions":["3.13.0","3.13.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-xfhx-r7ww-5995/GHSA-xfhx-r7ww-5995.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}