VDB
Sign up
CRITICAL9.1

GO-2026-5748

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

Quick fix

GO-2026-5748 — github.com/ollama/ollama: upgrade to the fixed version with the command below.

go get github.com/ollama/ollama@v0.17.1

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).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/ollama/ollama
Introduced in: 0Fixed in: 0.17.1
Fixgo get github.com/ollama/ollama@v0.17.1

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/ollama/ollama"]}'