Skip to content

CVE-2026-0897 Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata

HighCVSS 7.1 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi keras(PyPI) >= 3.0.0, < 3.12.1 3.12.1
pypi keras(PyPI) = 3.0.0 No fix listed
pypi keras(PyPI) = 3.0.1 No fix listed
pypi keras(PyPI) = 3.0.2 No fix listed
pypi keras(PyPI) = 3.0.3 No fix listed
pypi keras(PyPI) = 3.0.4 No fix listed
pypi keras(PyPI) = 3.0.5 No fix listed
pypi keras(PyPI) = 3.1.0 No fix listed
pypi keras(PyPI) = 3.1.1 No fix listed
pypi keras(PyPI) = 3.10.0 No fix listed
pypi keras(PyPI) = 3.11.0 No fix listed
pypi keras(PyPI) = 3.11.1 No fix listed
pypi keras(PyPI) = 3.11.2 No fix listed
pypi keras(PyPI) = 3.11.3 No fix listed
pypi keras(PyPI) = 3.12.0 No fix listed
pypi keras(PyPI) = 3.2.0 No fix listed
pypi keras(PyPI) = 3.2.1 No fix listed
pypi keras(PyPI) = 3.3.0 No fix listed
pypi keras(PyPI) = 3.3.1 No fix listed
pypi keras(PyPI) = 3.3.2 No fix listed
pypi keras(PyPI) = 3.3.3 No fix listed
pypi keras(PyPI) = 3.4.0 No fix listed
pypi keras(PyPI) = 3.4.1 No fix listed
pypi keras(PyPI) = 3.5.0 No fix listed
pypi keras(PyPI) = 3.6.0 No fix listed
Show 42 more
ProductAffected versionsFixed in
pypi keras(PyPI) = 3.7.0 No fix listed
pypi keras(PyPI) = 3.8.0 No fix listed
pypi keras(PyPI) = 3.9.0 No fix listed
pypi keras(PyPI) = 3.9.1 No fix listed
pypi keras(PyPI) = 3.9.2 No fix listed
pypi keras(PyPI) >= 3.13.0, < 3.13.2 3.13.2
pypi keras(PyPI) = 3.13.0 No fix listed
pypi keras(PyPI) = 3.13.1 No fix listed
pypi keras(PyPI) >= 3.0.0, < 3.13.1 3.13.1
pypi keras(PyPI) = 3.12.1 No fix listed
pypi keras(PyPI) = 3.12.2 No fix listed
pypi keras(PyPI) = 3.12.3 No fix listed
azure linux keras(Azure Linux:3.0) All versions No fix listed
azure linux keras(Azure Linux:3.0) < 3.3.3-6 3.3.3-6
Google Keras >= 3.0.0, <= 3.13.0 No fix listed
redhat openshift ai < 1772094445 1772094445
redhat openshift ai < 1772093304 1772093304
redhat openshift ai < 1772093283 1772093283
redhat openshift ai < 1772093300 1772093300
redhat openshift ai < 1772093272 1772093272
redhat openshift ai < 1771502897 1771502897
redhat openshift ai < 1771502844 1771502844
redhat openshift ai < 1771502910 1771502910
redhat openshift ai < 1771502884 1771502884
redhat trusted artifact signer < 1772614635 1772614635
redhat openshift ai All versions No fix listed
debian/keras(Debian:11) All versions No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg-3 No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg2-1 No fix listed
pypi keras(PyPI) >= 3.0.0, <= 3.12.0 No fix listed
redhat/rhoai/odh-modelmesh-runtime-adapter-rhel9:1772094445(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1772093304(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1772093283(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1772093300(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1772093272(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1771502897(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1771502844(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1771502910(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1771502884(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhtas/model-transparency-rhel9:1772614635(Red Hat:trusted_artifact_signer:1.3::el9) All versions No fix listed
redhat/rhoai/odh-modelmesh-runtime-adapter-rhel8(Red Hat:openshift_ai) All versions No fix listed
Keras >= 3.0.0, <= 3.13.0 No fix listed

References