CVE-2026-65315

HIGH

Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0057
EPSS Percentile 44.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-789
Status published
Products (1)
Ollama/Ollama < f0078ae
Published Jul 21, 2026
Tracked Since Jul 22, 2026