CVSS 4.0
7.1 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (7.1) in keras keras. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in keras 3.12.1, 3.13.1, 3.13.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hkeras (PyPI): fixed in 3.12.1, 3.13.2, 3.13.1Explain CVE-2026-0897 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0897?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0897?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0897 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Google Keras | from 3.0.0 through 3.13.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mgx6-5cf9-rr43 | PyPI | keras | >=3.0.0 <3.12.1 | 3.12.1 |
| GHSA-mgx6-5cf9-rr43 | PyPI | keras | >=3.13.0 <3.13.2 | 3.13.2 |
| PYSEC-2026-73 | PyPI | keras | >=3.0.0 <3.13.1 | 3.13.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | keras | no fix listed | DEBIAN-CVE-2026-0897 |
| Ubuntu | 18.04:LTS, 20.04:LTS | keras | no fix listed | UBUNTU-CVE-2026-0897 |
| Azure Linux | 3 | keras | 3.3.3-6 | AZL-74631 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This vulnerability is rated Important for Red Hat OpenShift AI. A remote attacker can cause a Denial of Service (DoS) by providing a crafted `.keras` archive with an excessively large dataset shape, leading to memory exhaustion. This impacts Red Hat OpenShift AI components that utilize Keras for model handling.
To mitigate this issue, avoid loading Keras model archives from untrusted sources. If processing untrusted Keras model archives is unavoidable, ensure they are processed within an isolated and resource-constrained environment to limit the impact of potential memory exhaustion attacks.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 2.25 | rhoai/odh-modelmesh-runtime-adapter-rhel9:1772094445 | Fixed 2026-03-04 | RHSA-2026:3782 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1772093304 | Fixed 2026-03-04 | RHSA-2026:3782 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1772093283 | Fixed 2026-03-04 | RHSA-2026:3782 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1772093300 | Fixed 2026-03-04 | RHSA-2026:3782 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1772093272 | Fixed 2026-03-04 | RHSA-2026:3782 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1771502897 | Fixed 2026-03-04 | RHSA-2026:3713 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1771502844 | Fixed 2026-03-04 | RHSA-2026:3713 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1771502910 | Fixed 2026-03-04 | RHSA-2026:3713 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1771502884 | Fixed 2026-03-04 | RHSA-2026:3713 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/model-transparency-rhel9:1772614635 | Fixed 2026-03-11 | RHSA-2026:4271 |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-agent-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-router-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-storage-initializer-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-runtime-adapter-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0897.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).