---
id: CVE-2026-0897
title: "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 c…"
summary: "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 c…"
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
  - CWE-770
vendor: keras
product: keras
affected:
  - 'keras >= 3.0.0, <= 3.13.0'
published: '2026-01-15'
updated: '2026-06-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-0897'
references:
  - url: 'https://github.com/keras-team/keras/pull/21880'
    label: cve-coordination@google.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3713'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:3782'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:4271'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-0897'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2430027'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0897.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
  - exploit-available
epss: 0.00335
epssPercentile: 0.26961
ingestedAt: '2026-06-30T13:26:50.494Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/HyperPS/CVE-2026-0897'
  checkedAt: '2026-09-23T07:13:45.128Z'
exploitAvailable: true
---

## Overview

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.

## Affected

- `keras >= 3.0.0, <= 3.13.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
