{"cve":"CVE-2024-12886","nvd":{"published":"2025-03-20T10:15:31.713","modified":"2026-06-17T07:00:42.287","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-409"],"references":["https://huntr.com/bounties/f115fe52-58af-4844-ad29-b1c25f7245df"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-12886","score":0.00733,"percentile":0.54394,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v464-r2r9-www7","url":"https://osv.dev/vulnerability/GHSA-v464-r2r9-www7","summary":"Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP","modified":"2025-03-31T17:44:33.215400Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.3.14"],"fixed":[]}]},{"id":"GO-2025-3548","url":"https://osv.dev/vulnerability/GO-2025-3548","summary":"Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP in github.com/ollama/ollama","modified":"2026-05-21T18:15:09.808022686Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<0.4.0-ci1"],"fixed":["0.4.0-ci1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}