PYSEC-2026-73

At a glance

Published
Updated
CVE
CVE-2026-0897
Aliases
GHSA-mgx6-5cf9-rr43
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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 packages

PackageVersions
PyPI · kerasintroduced 3.0.0, fixed 3.13.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database