{"schemaVersion":3,"id":"CVE-2025-0312","aliases":["CGA-676v-g96f-q39r","CGA-g846-jm37-x382","CGA-v46r-wvgc-qh9j","CGA-v92c-f9jx-fj52","GHSA-p2wh-w96x-w232","GO-2025-3582","CGA-7fv3-j4qg-cqx5","CGA-p63g-6hgw-chmx"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when uploaded and created on the Ollama server, can cause a crash due to an unchecked null pointer dereference. This can lead to a Denial of Service (DoS) attack via remote network.","dates":{"published":"2025-03-20T10:10:53.551Z","modified":"2025-03-20T18:15:26.946Z","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.00644,"percentile":0.4993,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.023000000000000017,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00621},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00644,"percentile":0.4993}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00621,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00632,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00644,"percentile":0.4993}]},"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_DBF4840475838079","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/522c87b6-a7ac-41b2-84f3-62fd58921f21","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.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/522c87b6-a7ac-41b2-84f3-62fd58921f21","label":"huntr.com/bounties/522c87b6-a7ac-41b2-84f3-62fd58921f21","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0312.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0312.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0312","label":"nvd.nist.gov/vuln/detail/CVE-2025-0312","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-p2wh-w96x-w232","label":"github.com/advisories/GHSA-p2wh-w96x-w232","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14970-1"],"duplicates":[],"related":["CGA-J73V-RW86-3RFP","OPENSUSE-SU-2025:14970-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:53.551Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T18:15:26.946Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:20:40.485Z","stale":false,"partial":false}}