CVE-2025-0312: Ollama Null Pointer Dereference Causes Denial of Service
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A null pointer dereference vulnerability in Ollama allows malicious users to crash the server by uploading a customized GGUF model file. The issue leads to a remote denial of service attack.
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-2025-0312 · dos · ollama · gguf
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-03-20CVE-2025-0312: Ollama Denial of Service (DoS) via Null Pointer DereferenceGitHub Advisory Database · github.com/advisories/GHSA-p2wh-w96x-w232
- 2025-03-20CVE-2025-0312: A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when…NVD · nvd.nist.gov/vuln/detail/CVE-2025-0312
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-2024-8063: Ollama Modelfile Processing Causes Denial of Service2 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-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