Keras vulnerable to DoS via Malicious .keras Model (HDF5 Shape Bomb Causes Petabyte Allocation in KerasFileEditor)
CVE-2026-0897 · GHSA-mgx6-5cf9-rr43 · published 2026-05-06 · updated 2026-06-08
- Severity
- High
- CVSS score
- 7.1
- Chance of exploitation (EPSS)
- 0.33%
- Fixed in
- 3.13.2
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
This vulnerability allows an attacker to crash any system that loads a malicious .keras model file. The attacker can: Cause immediate memory exhaustion (8+ PiB allocation attempts) Crash TensorFlow / Python interpreter Kill Jupyter kernels Break automated model-upload pipelines Crash MLOps servers that process user models Deny service to shared GPU/CPU environments If a platform allows user-uploaded Keras models (training services, inference endpoints, AutoML tools, Kaggle-style platforms), this becomes a Remote Denial of Service vector. Loading the malicious model consumed all system RAM and repeatedly terminated the runtime.
Upgrade keras to 3.13.2 or later.
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighMCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation@modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighFrame-count cap bypass in VideoMediaIO.load_base64 for video/jpeg via media_io_kwargs.video.num_framesvllm
- CriticalKeras framework vulnerable to deserialization of untrusted datakeras
- CriticalKeras code injection vulnerabilitykeras
- HighKeras: TorchModuleWrapper can deserialize unsafe PyTorch pickle datakeras, keras
- HighKeras: Lambda deserialization can bypass safe mode and execute codekeras, keras
- HighKeras archive extraction utilities allow path traversal and arbitrary file writeskeras
- HighKeras has an untrusted deserialization vulnerabilitykeras
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.