{"schema_version":"1.9.0","id":"CVE-2024-8063","published":"2025-03-20T10:10:56.139Z","modified":"2026-08-12T03:51:15.164995230Z","aliases":["GHSA-2xf2-gjm6-g2c6","GO-2025-3689"],"related":["CGA-43f5-wr5m-xcpp","openSUSE-SU-2025:15135-1"],"summary":"Divide by Zero in ollama/ollama","details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/ollama/ollama","events":[{"introduced":"ce1fb4447efc9958dcf279f7eb2ae6941bec1220"},{"last_affected":"ce1fb4447efc9958dcf279f7eb2ae6941bec1220"}],"database_specific":{"cpe":"cpe:2.3:a:ollama:ollama:0.3.3:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.3.3"},{"last_affected":"0.3.3"}],"source":"CPE_STRING"}}],"versions":["0.3.3","v0.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8063.json"}}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8063"}],"database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-369"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}