HighGHSA-2xf2-gjm6-g2c6CVE-2024-8063GO-2025-3689

Ollama Divide by Zero Vulnerability

Published 20 Mar 2025 · Updated 10 Sept 2026

Is your project on an affected github.com/ollama/ollama?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<=0.3.3
Fixed in
No fix released

Details

A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for block_count in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.

Is GHSA-2xf2-gjm6-g2c6 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/ollama/ollama, and gives you the command that fixes it.

More advisories for github.com/ollama/ollama

  • LowCVE-2026-7020Ollama is Vulnerable to Path Traversal in github.com/ollama/ollama · 27 Jul 2026
  • LowCVE-2026-7482Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader in github.com/ollama/ollama · 27 Jul 2026
  • HighCVE-2026-7482Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader · 4 May 2026
  • LowCVE-2026-7020Ollama is Vulnerable to Path Traversal · 26 Apr 2026
  • LowCVE-2025-63389Ollama has missing authentication enabling attackers to perform model management operations in github.com/ollama/ollama · 14 Jan 2026
  • CriticalCVE-2025-63389Ollama Platform has missing authentication enabling attackers to perform model management operations · 18 Dec 2025
All 30 advisories for github.com/ollama/ollama

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.