CVE-2024-8063: ollama Divide By Zero
CVSS: 7.5v3.0HighAnalyzed
AliasesPYSEC-2025-144GHSA-2xf2-gjm6-g2c6GO-2025-3689CGA-65xq-68jj-46mwCGA-fgpq-3mrq-9prvCGA-q9mf-4qxf-q2jpCGA-xc36-g45m-768rCGA-45jm-rg3h-x26mCGA-v5fv-xc43-vp33
Published 20-03-2025Last modified 20-03-2025
Vulnerability summary
CVE-2024-8063 is a high (CVSS 7.5) Divide By Zero vulnerability in ollama. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 50.1% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.0 (CVE.org)EPSS score
0.64%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 20-03-2025PublishedVulnerability first disclosed.
- 20-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versionsHigh 7.5Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 2 agree
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
High 7.5Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 5 agree
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
+0.01 pp
From 0.63% on 21-09-2026
21-09-202621-10-2026
EPSS score0.64%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- k8sgptAll versions (No fix recorded)
- mods< 1.8.1-r14
- ollama-fipsAll versions (No fix recorded)
Ollama2 products
- ollama0.3.3
- ollama/ollama≥ unspecified, ≤ latest
Wolfi2 products
- k8sgptAll versions (No fix recorded)
- mods< 1.8.1-r14
Github.com/ollama1 product
- ollama≤ 0.3.3 | All versions (No fix recorded)
PyPI1 product
- ollama≤ 0.3.3
5 vendors · 9 products
References
7 links- github.com/ollama/ollamaPACKAGE