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