CVE-2025-0317
Divide By Zero in ollama/ollama
- State
- Published
- Severity
- 7.5 High
- Published
- Mar 20, 2025
- Updated
- Mar 20, 2025
- Reserved
- Jan 7, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 7.5 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | @huntr_ai |
Weaknesses
- CWE-369 Divide By Zero
Affected Products
| Product | Versions |
|---|---|
ollama/ollamaollama |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.