CVE-2024-12886: high-severity vulnerability in ollama/ollama
Out-Of-Memory (OOM) Vulnerability in ollama/ollama
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 0.7%
An 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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
ollama · ollama/ollamaRelated CVEs — ollama/ollama
In the same product, most dangerous first.
CVE-2025-0317HIGHDivide By Zero in ollama/ollamaEPSS 14.5%CVE-2024-12055HIGHDoS using malicious gguf model file in ollama/ollamaEPSS 0.8%CVE-2025-0315HIGHAllocation of Resources Without Limits or Throttling in ollama/ollamaEPSS 0.7%CVE-2025-0312HIGHNULL Pointer Dereference in ollama/ollamaEPSS 0.6%CVE-2024-8063HIGHDivide by Zero in ollama/ollamaEPSS 0.6%CVE-2025-1975HIGHImproper Validation of Array Index in ollama/ollamaEPSS 0.5%