Ollama Out-of-Bounds Read Vulnerability Allows Remote Process Memory Leak
- Published
- Record updated
Summary
Researchers disclosed CVE-2026-7482 (CVSS 9.1), a heap out-of-bounds read in the GGUF model loader of Ollama before 0.17.1, codenamed Bleeding Llama by Cyera. A remote, unauthenticated attacker can upload a crafted GGUF file with an inflated tensor shape to the /api/create endpoint, leaking process memory such as environment variables, API keys, system prompts and other users' conversation data, which can then be pushed to an attacker-controlled registry via /api/push. The flaw likely affects over 300,000 servers.
Mitigation
Users are advised to apply the latest fixes, limit network access, audit running instances for internet exposure, and isolate and secure them behind a firewall. Deploying an authentication proxy or API gateway in front of all Ollama instances is also recommended, as the REST API does not provide authentication out of the box.
Topics
Related items
- MediumCVE-2026-136540: LiteLLM Secret Manager oidc resolver information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-135614 - Sensitive data redaction bypass in the troubleshooting tool in Amazon ECS MCP ServerSimilar attack · AWS Security Bulletins
- MediumCVE-2026-135614: Amazon ECS MCP Server troubleshooting tool exposes data via prompt injectionSimilar attack · NVD/CVE Database
- InfoFresh Keys, Stale Secrets: Numeric Leakage across Linked LLM PromptsSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- LowRed-Teaming a Sovereign LLM, Its Reasoning and Its Training StagesSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)