{"schemaVersion":3,"id":"CVE-2025-0317","aliases":["CGA-gx52-g9g3-4j59","CGA-rc39-jr8f-584p","CGA-rwx7-vqxr-c26r","CGA-wm79-fwpq-pxvp","GHSA-9gcr-28rp-cc24","GO-2025-3559","CGA-3vfj-mcx7-577g","CGA-6rh8-4wch-x4g4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-20T10:10:02.331Z","modified":"2025-03-20T14:39:00.959Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.14154,"percentile":0.96549,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.14154},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.14154,"percentile":0.96549}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14154,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.14154,"percentile":0.96549}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_9D47EDE75958C366","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-369","name":"Divide By Zero","description":"The product divides a value by zero.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/369.html"}],"affected":[{"vendor":"chainguard","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k8sgpt","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mods","name":"mods","label":"mods","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mods","purlType":"apk","versions":[{"text":"< 1.8.1-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.1-r14","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ollama-fips","name":"ollama-fips","label":"ollama-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ollama-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k8sgpt","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mods","name":"mods","label":"mods","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mods","purlType":"apk","versions":[{"text":"< 1.8.1-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.1-r14","eol":null,"hubHref":null},{"vendor":"github.com/ollama","product":"ollama","name":"github.com/ollama/ollama","label":"ollama","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/ollama/ollama","purlType":"golang","versions":[{"text":"≤ 0.3.14","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.3.14 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ollama","product":"ollama","name":"ollama","label":"ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.14","eol":null,"hubHref":"/vendor/ollama/ollama"},{"vendor":"ollama","product":"ollama/ollama","name":"ollama/ollama","label":"ollama/ollama","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/ollama/ollamaollama"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0","label":"huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0317.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0317.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0317","label":"nvd.nist.gov/vuln/detail/CVE-2025-0317","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ollama/ollama","label":"github.com/ollama/ollama","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-9gcr-28rp-cc24","label":"github.com/advisories/GHSA-9gcr-28rp-cc24","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14955-1"],"duplicates":[],"related":["CGA-Q2XV-4CJ5-H5J2","OPENSUSE-SU-2025:14955-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:02.331Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T14:39:00.959Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:36:12.677Z","stale":false,"partial":false}}