All vulnerabilities

Servers and applications

CVE-2026-65315

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

Severity
High 8.7
Published
21 Jul 2026
Last changed
8 Nov 2026
Added to UpHeron
8 Nov 2026
Exploit chance
0.8% in the next 30 daysHigher than 57% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-789
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
OllamaServers and applications · cna:ollama|ollamaNot stated by the source

About Ollama

software for running large language models (LLMs) on a local computer or in the cloud

From Wikidata, CC0 1.0.
Docker Hub pulls
200,724,007Docker Hub, 15 Nov 2026
GitHub stars
187,005GitHub, 15 Nov 2026
Forks
19,091GitHub, 15 Nov 2026
Latest release
v0.40.16GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
GoWikidata
First released
8 Jul 2023Wikidata
First published on GitHub
26 Jun 2023GitHub

Vulnerabilities in Ollama

In our list
28
Published in the last 12 months
13
Critical, last 12 months
1
High, last 12 months
9
Known exploited
0
Search the list for Ollama

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-65315