{"cve":"CVE-2024-8063","nvd":{"published":"2025-03-20T10:15:40.757","modified":"2026-06-17T08:21:47.757","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-369"],"references":["https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9"],"products":["ollama:ollama"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-8063","score":0.00643,"percentile":0.50812,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2xf2-gjm6-g2c6","url":"https://osv.dev/vulnerability/GHSA-2xf2-gjm6-g2c6","summary":"Ollama Divide by Zero Vulnerability","modified":"2026-09-10T03:50:56.688692172Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.3.3"],"fixed":[]}]},{"id":"GO-2025-3689","url":"https://osv.dev/vulnerability/GO-2025-3689","summary":"Ollama Divide by Zero Vulnerability in github.com/ollama/ollama","modified":"2026-06-27T18:29:23.488799163Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}