ADVISORIES

Go Vulnerability Database

GO-2026-5748

Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader in github.com/ollama/ollama

Details

Ollama is vulnerable to a heap out-of-bounds read in its GGUF model loader. A specially crafted GGUF file can cause the loader to read beyond the allocated heap buffer, potentially leading to a denial of service (crash).

Affected packages

EcosystemPackageAffected versions
Gogithub.com/ollama/ollama
All versions before 0.17.1 (fixed in 0.17.1)

References