CVE-2024-8063
published 2025-03-20CVE-2024-8063: 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…
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.59%
43.7th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | ollama_ollama | 0 – 0.3.3 | — |
| ollama | ollama | — | — |
| ollama | ollama_ollama | unspecified – latest | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
osv·2025-05-15
CVE-2024-8063 Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
OSV
Ollama Divide by Zero Vulnerability
osv·2025-03-20
CVE-2024-8063 [HIGH] Ollama Divide by Zero Vulnerability
Ollama Divide by Zero Vulnerability
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.
GHSA
Ollama Divide by Zero Vulnerability
ghsa·2025-03-20
CVE-2024-8063 [HIGH] CWE-369 Ollama Divide by Zero Vulnerability
Ollama Divide by Zero Vulnerability
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.
Red Hat
ollama: Divide by Zero in ollama/ollama
vendor_redhat·2025-03-20·CVSS 7.5
CVE-2024-8063 [HIGH] CWE-369 ollama: Divide by Zero in ollama/ollama
ollama: Divide by Zero in ollama/ollama
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.
A flaw was found in Ollama. This vulnerability allows a denial of service (DoS) via a crafted Modelfile containing a specific type for block_count when importing GGUF models, leading to a server crash.
Statement: Ansible LightSpeed does not use Ollama server. The library is included in the image just for local development or testing.
Mitigation: Implementing an input validation to check a valid model file formats before processing would help to mitigate this iss
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-03-20
Published