CVE-2026-12570
Last modified
CVE-2026-12570 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| keras-team | keras-team/keras | < 3.12.3, 3.15.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-12570?
How severe is CVE-2026-12570?
How do I fix CVE-2026-12570?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12565The unarchive internal module's archive extraction commands …5.3
- CVE-2026-12566The docker_pull module uses the realm parameter from a Docke…3.1
- CVE-2026-12567The github_workflows module constructs local directory paths…2.2
- CVE-2026-12568The postman_download module uses the workspace name field fr…6.5
- CVE-2026-12569A critical remote code execution (RCE) vulnerability has bee…9.8
- CVE-2026-1257The Administrative Shortcodes plugin for WordPress is vulner…7.5
- CVE-2026-12571An authentication bypass in ManageEngine DDI Central's passw…9.8
- CVE-2026-12575DVP80ES3 with Improper Resource Shutdown or Release vulnera…7.5
- CVE-2026-12576DVP80ES3 with Improper Enforcement of Message Integrity Duri…7.5
- CVE-2026-12577DVP80ES3 with Improperly Implemented Security Check for Stan…8.7
- CVE-2026-12578The affected product is vulnerable to a deserialization of u…8.4
- CVE-2026-12579AS228T with Authentication Bypass Vulnerability7.4
Are you affected by CVE-2026-12570?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
