CVE-2024-8063: Ollama Modelfile Processing Causes Denial of Service
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A divide-by-zero error in Ollama allows attackers to induce a denial of service condition by importing GGUF models with manipulated block count parameters. The vulnerability causes the inference server to crash upon processing.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Ollama
- incident date
- 20 Mar 2025
- first reported
- 20 Mar 2025
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-8063 · dos · ollama · modelfile
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-03-20CVE-2024-8063: Ollama Divide by Zero VulnerabilityGitHub Advisory Database · github.com/advisories/GHSA-2xf2-gjm6-g2c6
- 2025-03-20CVE-2024-8063: A divide by zero vulnerability exists in ollama/ollama version v0.3.3.NVD · nvd.nist.gov/vuln/detail/CVE-2024-8063
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-03-20CVE-2025-0315: Ollama Resource Exhaustion via Custom GGUF Models2 Disclosedon AIInfra vuln2 src
- 2025-03-20CVE-2025-0317: Ollama Divide-By-Zero Error Leads to Server Crash2 Disclosedon AIInfra vuln2 src
- 2025-03-20CVE-2025-0312: Ollama Null Pointer Dereference Causes Denial of Service2 Disclosedon AIInfra vuln2 src
- 2025-03-20CVE-2024-12055: Ollama allows out-of-bounds read via crafted GGUF model2 Disclosedon AIInfra vuln2 src
- 2025-03-20Ollama Server Vulnerable to Denial of Service via Crafted GZIP2 Disclosedon AIInfra vuln1 src
- 2025-08-07CVE-2025-44779: Ollama arbitrary file deletion vulnerability2 Disclosedon AIInfra vuln2 src