{"id":"CVE-2025-0317","aliases":["EUVD-2025-6832","GHSA-9gcr-28rp-cc24","GO-2025-3559","openSUSE-SU-2025:14955-1"],"status":"published","title":"Divide By Zero in ollama/ollama","description":"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.","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-10","score":0.14501,"percentile":0.96662,"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:02Z","modified":"2026-10-28T02:31:08Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/ollama/ollama","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.14"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ollama/ollama","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.3.14"}]}]},{"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.20250331T171002-1.1"}]}],"bundled":4}],"products":[{"vendor":"ollama","product":"ollama"},{"vendor":"ollama","product":"ollama/ollama"}],"references":[{"url":"https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0317","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9gcr-28rp-cc24","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0317.json","tags":["advisory"]},{"url":"https://github.com/ollama/ollama","tags":["package"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GT5JSN3VXOPFJR5R2YOR4UYXCVU3UJDI/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-12055","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-12886","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-0315","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-0317","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-0317","title":"Divide By Zero in ollama/ollama","description":"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.","status":"published","published":"2025-03-20T10:10:02.331Z","modified":"2025-03-20T14:39:00.959Z","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:32:53.81273Z"}],"euvd":[{"id":"EUVD-2025-6832","description":"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.","status":"published","published":"2025-03-20T10:10:02Z","modified":"2025-03-20T14:39:00Z","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.796612Z"}],"ghsa":[{"id":"GHSA-9gcr-28rp-cc24","title":"Ollama Divide By Zero vulnerability","description":"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.","status":"published","published":"2025-03-20T12:32:52Z","modified":"2025-03-22T00:01:45Z","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:38:36.51789Z"}],"nvd":[{"id":"CVE-2025-0317","description":"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.","status":"published","published":"2025-03-20T10:15:52.647Z","modified":"2026-06-17T08:26:16.337Z","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:54.744127Z"}],"osv":[{"id":"CVE-2025-0317","title":"Divide By Zero in ollama/ollama","description":"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.","status":"published","published":"2025-03-20T10:10:02.331Z","modified":"2026-10-28T02:31:08.228109964Z","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.712478Z"},{"id":"GHSA-9gcr-28rp-cc24","title":"Ollama Divide By Zero vulnerability","description":"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.","status":"published","published":"2025-03-20T12:32:52Z","modified":"2026-09-10T03:49:48.410913492Z","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:43.875515Z"},{"id":"GO-2025-3559","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-03-31T17:03:53Z","modified":"2026-06-30T19:59:22.819212704Z","updated_at":"2026-11-02T15:47:01.728182Z"},{"id":"openSUSE-SU-2025:14955-1","title":"govulncheck-vulndb-0.0.20250331T171002-1.1 on GA media","description":"These are all security issues fixed in the govulncheck-vulndb-0.0.20250331T171002-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-04-02T00:00:00Z","modified":"2026-02-04T03:25:38.053528Z","updated_at":"2026-11-02T16:58:37.399567Z"}]}}
