Skip to main content
EPSS 0.1%top 97%

CVE-2026-12570: CWE-770 Allocation of Resources Without Limits or Throttling in keras-team keras-team/keras

0
Medium
VulnerabilityCVE-2026-12570cvecve-2026-12570cwe-770
Published: 08/10/2026 (08/10/2026, 06:29:56 UTC)
Source: CVE Database V5
Vendor/Project: keras-team
Product: keras-team/keras

Description

Keras versions up to 3.15.0 contain a vulnerability that allows denial of service (DoS) via loading malicious .keras model files. The issue arises from unvalidated dataset shapes and sizes during model loading, causing unbounded memory allocation and potential out-of-memory crashes. This vulnerability bypasses a previous fix and affects machine learning pipelines processing untrusted models.

CVSS v3.0

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected software

keras-team

keras-team/keras

keras
pkg:pypi/keras
Affected versions
<=3.15.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 15:36:04 UTC

Technical Analysis

CVE-2026-12570 is a resource exhaustion vulnerability in keras-team/keras (<= 3.15.0) where the H5IOStore.__getitem__ method in keras/src/saving/saving_lib.py does not validate the shape or size of datasets when loading .keras model files via keras.models.load_model(). This allows an attacker to craft malicious model files that cause unbounded memory allocation, leading to out-of-memory conditions and process termination (exit code 137). The flaw bypasses the prior fix for CVE-2026-0897, which addressed a similar issue in a different component. The attack vector includes poisoned models from public repositories or malicious model registries, posing a risk to ML pipelines that load untrusted models.

Potential Impact

Successful exploitation results in denial of service due to out-of-memory conditions causing the process to terminate unexpectedly. There is no impact on confidentiality or integrity reported. The vulnerability affects availability of the affected application when loading malicious model files.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid loading untrusted or unverified .keras model files to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-06-18T01:55:25.311Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 6a7972aabf8831d5392faf66

Added to database: 08/10/2026, 06:41:46 UTC

Last enriched: 08/17/2026, 15:36:04 UTC

Last updated: 09/24/2026, 01:47:40 UTC

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses