High severity · published Mar 20, 2025
CVE-2024-8063
Divide by Zero in ollama/ollama
7.5
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OL
ollama/ollama · ollama
through latest · source: vendor
OL
Ollama · Ollama
0.3.3 · source: NVD
Affected product
OL
ollama/ollama
ollama
More from ollama/ollama
7.5
CVE-2025-1975
Improper Validation of Array Index in ollama/ollama
7.5
CVE-2025-0312
NULL Pointer Dereference in ollama/ollama
7.5
CVE-2024-12886
Out-Of-Memory (OOM) Vulnerability in ollama/ollama
7.5
CVE-2025-0317
Divide By Zero in ollama/ollama
7.5
CVE-2025-0315
Allocation of Resources Without Limits or Throttling in ollama/ollama