๐Ÿ” CVE Alert

CVE-2026-65315

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-789
Vendor ollama
Product ollama
Published Jul 21, 2026
Stay Ahead of the Next One

Get instant alerts for ollama ollama

Be the first to know when new high vulnerabilities affecting ollama ollama are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

Ollama / Ollama
0 โ‰ค f0078ae

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/ollama/ollama/issues/17042 github.com: https://github.com/ollama/ollama vulncheck.com: https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser

Credits

๐Ÿ” George Chen