{"id":"CVE-2026-65315","published":"2026-07-21T21:18:24Z","modified":"2026-11-08T14:08:04Z","title":"Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser","vendor":"Ollama","product":"Ollama","tier":"tail","description":{"text":"Ollama (HEAD f0078ae) contains an uncontrolled memory allocation vulnerability in the GGUF metadata parser that allows remote attackers to crash the server by supplying a crafted GGUF file with attacker-controlled length and count fields in string lengths, tensor dimension counts, and metadata array counts that are used as allocation sizes without validation against remaining file size. Attackers can upload a sub-1KB crafted GGUF file via the blob upload and model create or pull API endpoints to trigger unrecoverable Go runtime out-of-memory fatal errors or makeslice panics that bypass recovery middleware and crash the entire server process.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/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.00807,"percentile":0.53683,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/ollama/ollama/issues/17042","tags":["issue-tracking"]},{"url":"https://github.com/ollama/ollama","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser","tags":["third-party-advisory"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.74},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ollama","affectedVersions":[{"vendor":"Ollama","product":"Ollama","versions":["<= f0078ae"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-22T18:21:09.443117Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46642","exploited":false,"provenance":"source"}}