CVE-2026-65315
published high CVSS 4.0 · 8.7Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ollama | — | Ollama0 through f0078ae · Other versions: affected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Ollama | Ollama | 0 through f0078ae (affected · git)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-789 Memory Allocation with Excessive Size Value
References
3- Product https://github.com/ollama/ollama
- GitHub Issue https://github.com/ollama/ollama/issues/17042
- https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser
Provider assertions
2VulnCheck · cna
Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9ecb1e8117b47145335230df448703428a3d264b6e30c6edf0618d680d861004
- Ingested
- 08 Nov 2026, 14:15:24 UTC
- Source record
- Official CVE record