{"schema_version":"1.7.5","id":"PYSEC-2025-144","published":"2025-03-20T10:15:40.757Z","modified":"2026-06-10T12:00:05.495083157Z","withdrawn":"2026-06-10T11:00:00Z","aliases":["CVE-2024-8063","GHSA-2xf2-gjm6-g2c6","GO-2025-3689"],"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":[{"package":{"name":"ollama","ecosystem":"PyPI","purl":"pkg:pypi/ollama"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.3"}]}],"versions":["0.0.0","0.0.1","0.1.0","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/ollama/PYSEC-2025-144.yaml"}}],"references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}