{"id":"CVE-2025-0317","published":"2025-03-20T10:10:02Z","modified":"2025-03-20T14:39:00Z","title":"Divide By Zero in ollama/ollama","vendor":"ollama","product":"ollama/ollama","tier":"tail","description":{"text":"A vulnerability in ollama/ollama versions <=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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.14501,"percentile":0.96717,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0","tags":[]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.34},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ollama","affectedVersions":[{"vendor":"ollama","product":"ollama/ollama","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-20T14:38:56.152944Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ollama/ollama","vulnerableRanges":["<=0.3.14","all versions"],"patched":[],"from":["GHSA-9gcr-28rp-cc24","GO-2025-3559"],"provenance":"source"}],"summary":{"text":"A division-by-zero flaw in the ggufPadding function of ollama/ollama (versions up to and including 0.3.14) can be triggered by a malicious user who uploads and creates a customized GGUF model file on the Ollama server. An attacker who can reach the server over the network and create a model file, without needing authentication or any user interaction, can crash the server and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:49Z"},"euvd":{"id":"EUVD-2025-6832","exploited":false,"provenance":"source"}}