PyPA Advisory Database
PYSEC-2025-144
This advisory was withdrawn on 10 June 2026.
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | ollama | All versions up to and including 0.3.3 |