OllamaGHSA-9gcr-28rp-cc24
Ollama Divide By Zero vulnerability
High7.5CVE-2025-0317 · Published Mar 20, 2025 · updated Sep 10, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/ollama/ollama Go | <= 0.3.14 | No fix yet |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-369
- Also known as
- CVE-2025-0317, GO-2025-3559
More Ollama advisories
All Ollama| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 162025 | Ollama Server Vulnerable to Denial of Service (DoS) Attack | High7.5 | No fix yet |
| Mar 202025 | Ollama Allocation of Resources Without Limits or Throttling vulnerability | High7.5 | No fix yet |
| Mar 202025 | Ollama Denial of Service (DoS) via Null Pointer Dereference | High7.5 | No fix yet |
| Mar 202025 | Ollama Divide by Zero Vulnerability | High7.5 | No fix yet |
| Mar 202025 | Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP | High7.5 | No fix yet |
| Mar 202025 | Ollama Allows Out-of-Bounds Read | High7.5 | No fix yet |