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
- github.com/keras-team/keras@7360d4f commit
- github.com/keras-team/keras@f704c88 commit
- github.com/keras-team/keras#21880 pull request
- github.com/keras-team/keras#22081 pull request
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 FencerVendor 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-rhel8affected: workaround, no fix available
-
Red Hat OpenShift AI 2.25 rhoai 1772093272, rhoai 1772093283, rhoai 1772093300, rhoai 1772093304, rhoai 1772094445fixed: vendor fix RHSA-2026:3782
-
Red Hat OpenShift AI 3.3 rhoai 1771502844, rhoai 1771502884, rhoai 1771502897, rhoai 1771502910fixed: vendor fix RHSA-2026:3713
-
Red Hat Trusted Artifact Signer 1.3 rhtas 1772614635fixed: 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-rhel9not 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 morenot 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
-
github.com
/keras-team/keras/pull/21880
web, issue-tracking, patch
-
github.com
/keras-team/keras/pull/22081
web
-
github.com
/keras-team/keras/commit/7360d4f0d764fbb1fa9c6408fe53da41974dd4f6
web
-
github.com
/keras-team/keras/commit/f704c887bf459b42769bfc8a9182f838009afddb
web
-
access.redhat.com
/errata/RHSA-2026:3782
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:3713
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:4271
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-0897
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2430027
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-0897.json
-
github.com
/keras-team/keras/security/advisories/GHSA-mgx6-5cf9-rr43
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-0897
advisory
-
github.com
/keras-team/keras
package
-
github.com
/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2026-73.yaml
web
-
github.com
/advisories/GHSA-mgx6-5cf9-rr43
advisory
Sources
- CVE List CVE-2026-0897
- GitHub Advisory GHSA-mgx6-5cf9-rr43
- NVD CVE-2026-0897
- OSV PYSEC-2026-73
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.