Home / ollama / ollama/ollama / CVE-2024-8063
CVE-2024-8063: is it exploited, and which versions of ollama/ollama are affected and fixed?
CVE-2024-8063 is a divide by zero vulnerability in ollama/ollama. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: github.com/ollama/ollama through 0.3.3 (GitHub advisory GHSA-2xf2-gjm6-g2c6). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from @huntr_ai).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 28, 2026, 18:34 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2024-8063?
Divide by Zero in ollama/ollama
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.
From the CVE record by @huntr_ai, last updated March 20, 2025, 18:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ollama | ollama/ollama | through latest |
As the CVE record by @huntr_ai states it, last updated March 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/ollama/ollama | <= 0.3.3 | none listed | GHSA-2xf2-gjm6-g2c6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 6, 2026. Summary: Ollama Divide by Zero Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ollama | ollama | 0.3.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:21 UTC.
How severe is CVE-2024-8063?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | @huntr_ai |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-8063 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, March 20, 2025)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 51.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-369 Divide By Zero
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- August 21, 2024
- Published
- March 20, 2025, 10:10 UTC
- CVE record updated
- March 20, 2025, 18:14 UTC by @huntr_ai
- NVD
- Analyzed, last modified June 17, 2026, 08:21 UTC
- Last checked
- CVE list November 28, 2026, 18:34 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ollama/ollama?
- May 16, 2025CVE-2025-1975 ollama/ollama: improper array index validation
- Mar 20, 2025CVE-2025-0312 ollama/ollama: NULL pointer dereference (crash)
- Mar 20, 2025CVE-2024-12886 ollama/ollama: improper Handling of Highly Compressed Data (Data Amplification)
- Mar 20, 2025CVE-2025-0317 ollama/ollama: divide by zero
- Mar 20, 2025CVE-2025-0315 ollama/ollama: denial of service (resources allocated without limits)
- Mar 20, 2025CVE-2024-12055 ollama/ollama: out-of-bounds read
Questions about CVE-2024-8063
Is CVE-2024-8063 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ollama/ollama are affected by CVE-2024-8063?
github.com/ollama/ollama through 0.3.3, per the GitHub advisory GHSA-2xf2-gjm6-g2c6. The tables above give every range the sources list.
Which version fixes CVE-2024-8063?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-8063?
High (7.5, CVSS 3.0, from @huntr_ai). The severity table above shows each score with its source.
Where is the official record of CVE-2024-8063?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.