CVE-2024-12886: ollama ollama/ollama
Vulnerability summary
CVE-2024-12886 is a high (CVSS 7.5) vulnerability in ollama ollama/ollama. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 20-03-2025PublishedVulnerability first disclosed.
- 15-10-2025Last modifiedVulnerability information updated.
Description
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.01 pp
From 0.72% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/ollama1 product
- ollama≤ 0.3.14 | < 0.4.0-ci1
Ollama1 product
- ollama/ollama≥ unspecified, ≤ latest
2 vendors · 2 products
References
4 links- github.com/ollama/ollamaPACKAGE