Uncontrolled Memory Allocation Vulnerability in Ollama by Ollama
CVE-2026-65315
8.7HIGH
What is CVE-2026-65315?
Ollama version HEAD f0078ae contains a vulnerability in its GGUF metadata parser that enables remote attackers to exploit uncontrolled memory allocation. By crafting a GGUF file with manipulated length and count fields, attackers can trigger fatal errors, causing the server to run out of memory or crash entirely. This vulnerability allows the upload of specially crafted sub-1KB GGUF files through designated API endpoints, leading to a denial of service as the server fails to adequately validate allocation sizes against the total file size.
Affected Version(s)
Ollama 0
