{"id":"CVE-2024-8063","aliases":["EUVD-2025-6935","GHSA-2xf2-gjm6-g2c6","GO-2025-3689","PYSEC-2025-144","openSUSE-SU-2025:15135-1"],"status":"published","title":"Divide by Zero in ollama/ollama","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00643,"percentile":0.51095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-369"],"published":"2025-03-20T10:10:56Z","modified":"2026-10-28T02:30:47Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/ollama/ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ollama/ollama","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.3.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ollama/ollama","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20250515T200012-1.1"}]}],"bundled":11}],"products":[{"vendor":"ollama","product":"ollama"},{"vendor":"ollama","product":"ollama/ollama"}],"references":[{"url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8063","tags":["advisory"]},{"url":"https://github.com/ollama/ollama/issues/8020","tags":["web","report"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2xf2-gjm6-g2c6","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json","tags":["advisory"]},{"url":"https://github.com/ollama/ollama","tags":["package"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QOPKRPL75SZMLT3YSQAZEDWH7RBRXGJK/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-52290","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-8063","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-3757","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-3931","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-4432","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-46331","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-4658","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-46721","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-46735","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-46815","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-46816","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-8063","title":"Divide by Zero in ollama/ollama","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.","status":"published","published":"2025-03-20T10:10:56.139Z","modified":"2025-03-20T18:14:42.676Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:34:09.540667Z"}],"euvd":[{"id":"EUVD-2025-6935","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.","status":"published","published":"2025-03-20T10:10:56Z","modified":"2025-03-20T18:14:42Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:57.377828Z"}],"ghsa":[{"id":"GHSA-2xf2-gjm6-g2c6","title":"Ollama Divide by Zero Vulnerability","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.","status":"published","published":"2025-03-20T12:32:47Z","modified":"2026-06-06T01:01:37Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:40:18.682012Z"}],"nvd":[{"id":"CVE-2024-8063","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.","status":"published","published":"2025-03-20T10:15:40.757Z","modified":"2026-06-17T08:21:47.757Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"CVE-2024-8063","title":"Divide by Zero in ollama/ollama","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.","status":"published","published":"2025-03-20T10:10:56.139Z","modified":"2026-10-28T02:30:47.230549371Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T15:44:45.405014Z"},{"id":"GHSA-2xf2-gjm6-g2c6","title":"Ollama Divide by Zero Vulnerability","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.","status":"published","published":"2025-03-20T12:32:47Z","modified":"2026-09-10T03:50:56.688692172Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T15:46:35.050232Z"},{"id":"PYSEC-2025-144","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.","status":"withdrawn","published":"2025-03-20T10:15:40.757Z","modified":"2026-06-10T12:00:05.495083157Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"GO-2025-3689","title":"Ollama Divide by Zero Vulnerability in github.com/ollama/ollama","description":"Ollama Divide by Zero Vulnerability in github.com/ollama/ollama","status":"published","published":"2025-05-15T19:45:07Z","modified":"2026-06-27T18:29:23.488799163Z","updated_at":"2026-11-02T15:47:01.728182Z"},{"id":"openSUSE-SU-2025:15135-1","title":"govulncheck-vulndb-0.0.20250515T200012-1.1 on GA media","description":"These are all security issues fixed in the govulncheck-vulndb-0.0.20250515T200012-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-05-20T00:00:00Z","modified":"2026-02-05T09:20:55.285479Z","updated_at":"2026-11-02T16:58:37.399567Z"}]}}
