high7.5
CVE-2025-0317
Ollama Divide By Zero vulnerability
Impact
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/ollama/ollama | <= 0.3.14 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ollama | Ollama | through 0.3.14 |