{"cve":"CVE-2025-0317","nvd":{"published":"2025-03-20T10:15:52.647","modified":"2026-06-17T08:26:16.337","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-369"],"references":["https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0"],"products":["ollama:ollama"],"source":"nvd","synced_at":"2026-10-19T22:00:28.034033815+00:00"},"epss":{"cve":"CVE-2025-0317","score":0.14501,"percentile":0.96635,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9gcr-28rp-cc24","url":"https://osv.dev/vulnerability/GHSA-9gcr-28rp-cc24","summary":"Ollama Divide By Zero vulnerability","modified":"2026-09-10T03:49:48.410913492Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.3.14"],"fixed":[]}]},{"id":"GO-2025-3559","url":"https://osv.dev/vulnerability/GO-2025-3559","summary":"Ollama Divide By Zero vulnerability in github.com/ollama/ollama","modified":"2026-06-30T19:59:22.819212704Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}