{"id":"GHSA-9gcr-28rp-cc24","summary":"Ollama Divide By Zero vulnerability","details":"A vulnerability in ollama/ollama versions \u003c=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.","aliases":["CVE-2025-0317","GO-2025-3559"],"modified":"2026-07-17T21:08:17.851900139Z","published":"2025-03-20T12:32:52Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-03-22T00:01:44Z","nvd_published_at":"2025-03-20T10:15:52Z","cwe_ids":["CWE-369"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0317"},{"type":"PACKAGE","url":"https://github.com/ollama/ollama"},{"type":"WEB","url":"https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0"}],"affected":[{"package":{"name":"github.com/ollama/ollama","ecosystem":"Go","purl":"pkg:golang/github.com/ollama/ollama"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.3.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-9gcr-28rp-cc24/GHSA-9gcr-28rp-cc24.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}