ADVISORIES

GitHub Advisory Database

GHSA-2xf2-gjm6-g2c6

Ollama Divide by Zero Vulnerability

High No fix available CVE-2024-8063GO-2025-3689

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/ollama/ollama
All versions up to and including 0.3.3

References