CVE Catalog

CVE-2026-65315

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.57%

44th percentile - higher than 44% of all known CVEs

Summary

Ollama (HEAD f0078ae) has an uncontrolled memory allocation vulnerability in the GGUF metadata parser. A remote attacker can upload a crafted sub-1KB GGUF file via the blob upload and model create/pull APIs, triggering an unrecoverable Go runtime out-of-memory fatal error or makeslice panic that bypasses recovery middleware and crashes the entire server.

Risk Assessment

An attacker can remotely crash the Ollama server, causing a denial of service (DoS).

Recommendation

Update Ollama to the latest patched version. Restrict access to the blob upload and model create/pull APIs to trusted users only.

Other vulnerabilities in Ollama

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS