{"schemaVersion":3,"id":"CVE-2024-8063","aliases":["PYSEC-2025-144","GHSA-2xf2-gjm6-g2c6","GO-2025-3689","CGA-65xq-68jj-46mw","CGA-fgpq-3mrq-9prv","CGA-q9mf-4qxf-q2jp","CGA-xc36-g45m-768r","CGA-45jm-rg3h-x26m","CGA-v5fv-xc43-vp33"],"status":"published","duplicateOf":null,"title":null,"description":"A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.","dates":{"published":"2025-03-20T10:10:56.139Z","modified":"2025-03-20T18:14:42.676Z","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.1","versionLabel":"v3.1","source":"OSV · Pypi","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":10,"impact":6,"computed":true},{"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.00643,"percentile":0.50107,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.01299999999999999,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0063},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00643,"percentile":0.50107}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00643,"percentile":0.50107}]},"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_03546938764E015B","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9","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.3","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.3.3 | 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.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.3.3","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"},{"vendor":"PyPI","product":"ollama","name":"ollama","label":"ollama","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ollama","purlType":"pypi","versions":[{"text":"≤ 0.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.3","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9","label":"huntr.com/bounties/fd8e1ed6-21d2-4c9e-8395-2098f11b7db9","hostname":"huntr.com","tags":["EVIDENCE","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8063","label":"nvd.nist.gov/vuln/detail/CVE-2024-8063","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ollama/ollama/issues/8020","label":"github.com/ollama/ollama/issues/8020","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/ollama/ollama","label":"github.com/ollama/ollama","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-144.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-2xf2-gjm6-g2c6","label":"github.com/advisories/GHSA-2xf2-gjm6-g2c6","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15135-1"],"duplicates":[],"related":["CGA-43F5-WR5M-XCPP","OPENSUSE-SU-2025:15135-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:56.139Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T18:14:42.676Z","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-21T22:49:01.237Z","stale":false,"partial":false}}