{"id":"CVE-2024-8063","aliases":["CVE-2024-8063","GHSA-2xf2-gjm6-g2c6","GO-2025-3689","PYSEC-2025-144"],"related":["CGA-43f5-wr5m-xcpp"],"kind":"vulnerability","state":"published","title":"Divide by Zero in ollama/ollama","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Ollama Divide by Zero Vulnerability in github.com/ollama/ollama","format":"markdown","source":"go"},{"lang":"es","text":"Existe una vulnerabilidad de división por cero en ollama/ollama versión v0.3.3. Esta vulnerabilidad ocurre al importar modelos GGUF con un tipo manipulado para `block_count` en el archivo Modelfile. Esto puede provocar una denegación de servicio (DoS) cuando el servidor procesa el modelo, provocando su bloqueo.","source":"nvd"}],"published":"2025-03-20T10:10:56.139Z","modified":"2026-09-10T03:50:56.688Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"ollama","product":"ollama/ollama","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.3.3"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"go"},{"ranges":[{"status":"affected","version":"0.3.3"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:0.3.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.3.3"}],"ecosystem":"PyPI","package":"ollama","purl":"pkg:pypi/ollama","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8063","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ollama/ollama/issues/8020","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/ollama/ollama","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-2xf2-gjm6-g2c6","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:50:17.989Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8063","url":"https://www.cve.org/CVERecord?id=CVE-2024-8063","licence":"CVE Terms of Use","modified":"2025-03-20T18:14:42.676Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xf2-gjm6-g2c6","url":"https://github.com/advisories/GHSA-2xf2-gjm6-g2c6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:56.688Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3689","url":"https://pkg.go.dev/vuln/GO-2025-3689","licence":"CC-BY-4.0","modified":"2026-06-27T18:29:23.488Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8063","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8063","licence":"Public domain","modified":"2026-06-17T08:21:47.757Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-144","url":"https://osv.dev/vulnerability/PYSEC-2025-144","licence":"CC-BY-4.0","modified":"2026-06-10T12:00:05.495Z"}],"updatedAt":"2026-11-25T22:58:52.391Z","epss":{"score":0.00637,"percentile":0.51904,"date":"2026-12-02T12:00:21.000Z"}}