Skip to content
Fencer Intel
high 7.6

CVE-2026-0897 json

Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata

published 9mo ago modified 3mo ago also EUVD-2026-2735 , GHSA-mgx6-5cf9-rr43 , PYSEC-2026-73

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

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 crash of the Python interpreter via a crafted .keras archive containing a valid model.weights.h5 file whose dataset declares an extremely large shape.

Patch / fix

  • pypi keras 3.12.1, 3.13.1, 3.13.2
  • Red Hat Red Hat OpenShift AI 2.25 1772093272, 1772093283, 1772093300, 1772093304, 1772094445
  • Red Hat Red Hat OpenShift AI 3.3 1771502844, 1771502884, 1771502897, 1771502910
  • Red Hat Red Hat Trusted Artifact Signer 1.3 1772614635
  • keras Azure Linux 3.0 3.3.3-6

azure linux advisories AZL-74631

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2026-0897 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-0897 updated cvss 7.6

Keras: Keras: Denial of Service via crafted HDF5 weight loading file

  • Red Hat OpenShift AI (RHOAI) rhoai/odh-modelmesh-runtime-adapter-rhel8
    affected: workaround, no fix available
  • Red Hat OpenShift AI 2.25 rhoai 1772093272, rhoai 1772093283, rhoai 1772093300, rhoai 1772093304, rhoai 1772094445
    fixed: vendor fix RHSA-2026:3782
  • Red Hat OpenShift AI 3.3 rhoai 1771502844, rhoai 1771502884, rhoai 1771502897, rhoai 1771502910
    fixed: vendor fix RHSA-2026:3713
  • Red Hat Trusted Artifact Signer 1.3 rhtas 1772614635
    fixed: vendor fix RHSA-2026:4271
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-storage-initializer-rhel9
    not affected: vulnerable code not in execute path
  • Red Hat OpenShift AI 2.25 rhoai 1772093237, rhoai 1772093250, rhoai 1772093252, rhoai 1772093260, rhoai 1772093266, rhoai 1772093272, +60 more Red Hat OpenShift AI 3.3 rhoai 1769162595, rhoai 1769436305, rhoai 1769519975, rhoai 1770277795, rhoai 1770735854, rhoai 1770754585, +68 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
9mo ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 4.0 7.1 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
CISA ADP 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
CNA 4.0 7.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi keras
>=3.0.0, <3.12.1
>=3.13.0, <3.13.2
>=3.0.0, <3.13.1
3.12.1
3.13.2
3.13.1

Affected products

  • Google Keras
  • Red Hat Red Hat OpenShift AI 2.25
  • Red Hat Red Hat OpenShift AI 3.3
  • Red Hat Red Hat Trusted Artifact Signer 1.3
  • Red Hat Red Hat OpenShift AI (RHOAI)

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.