CVE-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 `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.
02 / AFFECTED SOFTWARE
Affected packages
2 explicit affected versions
17 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
Ollama Divide by Zero Vulnerability in github.com/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 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.
05 / REFERENCES
Further evidence
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json
- https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9
- https://nvd.nist.gov/vuln/detail/CVE-2024-8063
- https://github.com/advisories/GHSA-2xf2-gjm6-g2c6
- https://github.com/ollama/ollama/issues/8020
- https://github.com/ollama/ollama
- https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml