CVE-2026-7482highSecret exposure2026-05-04
CVE-2026-7482: Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader
Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader.
What it is
Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer.
How to check
- Affected: github.com/ollama/ollama (go) < 0.17.1.
- Compare your installed version with the range above (command below).
How to fix
- Upgrade github.com/ollama/ollama to 0.17.1 or later.
ollama --version Sources
More advisories for this tool
- criticalCVE-2026-103663: Ollama /api/pull path traversal can lead to code execution as root
- criticalCVE-2026-61732: web pages can forge operator turns in the Decepticon hacking agent with ChatML tokens and run commands, upgrade to 1.1.17
- criticalCVE-2025-63389: Ollama Platform has missing authentication enabling attackers to perform model management operations
- highCVE-2026-59158: nuxt-ollama puts your Ollama cloud API key in every server-rendered page, upgrade to 1.3.1