Vulnerabilities · 2024 · Ollama
CVE-2024-8063
Ollama 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.
Affected products
Ollama. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ollama runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-8063
- github.com/ollama/ollama/issues/8020
- github.com/advisories/GHSA-2xf2-gjm6-g2c6
- github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml
- nvd.nist.gov/vuln/detail/CVE-2024-8063
- cve.org/CVERecord?id=CVE-2024-8063
More vulnerabilities in Ollama products
CVE-2025-66960CVE-2025-66959CVE-2025-63389CVE-2025-51471CVE-2025-44779CVE-2025-15514CVE-2025-1975CVE-2025-0317All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.