Ollama/Ollama vulnerabilities

7 vulnerabilities

Known vulnerabilities in Ollama/Ollama, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

PrioritiseCVE-2025-1975ollama · ollama/ollama +8 moreImproper Validation of Array Index in ollama/ollamaA vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull endpoint, which can lead to a server crash.CVSS7.5HighEPSS0.53%PrioritiseCVE-2024-8063ollama · ollama/ollama +8 moreDivide by Zero in ollama/ollamaA 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.CVSS7.5HighEPSS0.64%PrioritiseCVE-2025-0312ollama · ollama/ollama +7 moreNULL Pointer Dereference in ollama/ollamaA vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when uploaded and created on the Ollama server, can cause a crash due to an unchecked null pointer dereference. This can lead to a Denial of Service (DoS) attack via remote network.CVSS7.5HighEPSS0.64%PrioritiseCVE-2024-12886ollama · ollama/ollama +1 moreOut-Of-Memory (OOM) Vulnerability in ollama/ollamaAn Out-Of-Memory (OOM) vulnerability exists in the `ollama` server version 0.3.14. This vulnerability can be triggered when a malicious API server responds with a gzip bomb HTTP response, leading to the `ollama` server crashing. The vulnerability is present in the `makeRequestWithRetry` and `getAuthorizationToken` functions, which use `io.ReadAll` to read the response body. This can result in excessive memory usage and a Denial of Service (DoS) condition.CVSS7.5HighEPSS0.73%PrioritiseCVE-2025-0317ollama · ollama/ollama +7 moreDivide By Zero in ollama/ollamaA vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.CVSS7.5HighEPSS14.39%PrioritiseCVE-2025-0315ollama · ollama/ollama +7 moreAllocation of Resources Without Limits or Throttling in ollama/ollamaA vulnerability in ollama/ollama <=0.3.14 allows a malicious user to create a customized GGUF model file, upload it to the Ollama server, and create it. This can cause the server to allocate unlimited memory, leading to a Denial of Service (DoS) attack.CVSS7.5HighEPSS0.66%PrioritiseCVE-2024-12055ollama · ollama/ollama +7 moreDoS using malicious gguf model file in ollama/ollamaA vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.CVSS7.5HighEPSS0.82%