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 --versionSources
More advisories for this tool
- criticalCVE-2026-103663: Ollama /api/pull path traversal can lead to code execution as root
- criticalCVE-2025-63389: Ollama Platform has missing authentication enabling attackers to perform model management operations
- highCVE-2026-102697: Ollama agent mode's Bash approval can be bypassed with ; or &&
- highCVE-2024-28224: Ollama DNS rebinding vulnerability