{"id":"UBUNTU-CVE-2026-0897","details":"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.","modified":"2026-09-11T15:00:11.109407108Z","published":"2026-01-15T14:16:00Z","upstream":["CVE-2026-0897"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0897"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-0897"},{"type":"REPORT","url":"https://github.com/keras-team/keras/pull/21880"}],"affected":[{"package":{"name":"keras","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/keras?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7-2","2.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-keras","binary_version":"2.1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0897.json"}},{"package":{"name":"keras","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/keras?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-keras","binary_version":"2.2.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0897.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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}