
CVE catalog
CVE-2026-12570
UBUNTU-CVE-2026-12570
- Severity
- Medium · CVSS 5.5
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.19% · Oct 25, 2026
A vulnerability in keras-team/keras versions <= 3.15.0 allows for a denial of service (DoS) attack when loading malicious .keras model files via the keras.models.load_model() function. The H5IOStore.__getitem__ method in keras/src/saving/saving_lib.py does not validate the shape or size of datasets, leading to unbounded memory allocation. A specially crafted .keras file can exploit this flaw to trigger an out-of-memory (OOM) condition, causing the process to be terminated (exit code 137). This issue bypasses the fix for CVE-2026-0897, which only addressed a similar vulnerability in KerasFileEditor. The attack vector includes poisoned models from public repositories or malicious model registries, posing a risk to machine learning pipelines that process untrusted models.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | keras | 11 | 2.3.1+dfsg-3 | vulnerable |
| Debian | keras | 11 | 2.3.1+dfsg2-1 | vulnerable |
| Ubuntu | keras | 18.04 | 1.0.7-2 | vulnerable |
| Ubuntu | keras | 18.04 | 2.1.1-1 | vulnerable |
| Ubuntu | keras | 20.04 | 2.2.4-1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/keras-team/keras/commit/4933ea4a5b3fcc24ceacdc276f5bb5dfbd06756c]
- [https://huntr.com/bounties/a064f475-780a-409a-82f7-678512f27ad8]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-12570]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-12570]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-12570]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12570.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]