CVE-2025-0317
published high CVSS 3.0 · 7.5Divide By Zero in ollama/ollama
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ollama | — | ollama/ollamaunspecified through latest | Affected | Not stated | @huntr_ai |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ollama | ollama/ollama | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-369 CWE-369 Divide By Zero
References
1Provider assertions
2@huntr_ai · cna
Divide By Zero in ollama/ollama
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 49e791a1606a692923db17c4185fc035e08a5f376448b1e71799bce24dbc031f
- Ingested
- 23 Sep 2026, 08:35:13 UTC
- Source record
- Official CVE record