{"id":"CVE-2024-12886","published":"2025-03-20T10:10:28Z","modified":"2025-10-15T12:49:34Z","title":"Out-Of-Memory (OOM) Vulnerability in ollama/ollama","vendor":"ollama","product":"ollama/ollama","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00783,"percentile":0.52493,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://huntr.com/bounties/f115fe52-58af-4844-ad29-b1c25f7245df","tags":[]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":10.5},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-05-19","earliestUrl":"https://github.com/dannyEndorTest/ollama","repos":[{"name":"dannyEndorTest/ollama","url":"https://github.com/dannyEndorTest/ollama","stars":0,"created":"2026-05-19"},{"name":"dannyEndorTest/ollama-consumer","url":"https://github.com/dannyEndorTest/ollama-consumer","stars":0,"created":"2026-05-20"}]},"first":{"date":"2026-05-19","source":"PoC-in-GitHub","url":"https://github.com/dannyEndorTest/ollama"},"provenance":"source"},"vendorSlug":"ollama","affectedVersions":[{"vendor":"ollama","product":"ollama/ollama","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-20T17:51:32.774088Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ollama/ollama","vulnerableRanges":["<=0.3.14","<0.4.0-ci1"],"patched":["0.4.0-ci1"],"from":["GHSA-v464-r2r9-www7","GO-2025-3548"],"provenance":"source"}],"summary":{"text":"An Out-Of-Memory vulnerability in the ollama/ollama server (version 0.3.14) lies in the makeRequestWithRetry and getAuthorizationToken functions, which read HTTP response bodies with io.ReadAll without limiting decompressed size. An attacker operating a malicious API server can send a gzip bomb response over the network, without authentication or user interaction, causing excessive memory use and crashing the ollama server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:47Z"},"euvd":{"id":"EUVD-2025-6985","exploited":false,"provenance":"source"}}