# CVE-2026-65315: Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-07-21T21:18:24.567Z
- Modified: 2026-11-08T14:08:04.814Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Ollama Ollama: up to f0078ae

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ollama/ollama/issues/17042> (issue-tracking)
- <https://github.com/ollama/ollama> (patch)
- <https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65315](https://www.cve.org/CVERecord?id=CVE-2026-65315), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-65315](https://nvd.nist.gov/vuln/detail/CVE-2026-65315), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65315 · Whole record: https://cve.day/CVE-2026-65315.json · Rebuilt by cve.day 2026-11-25T22:59:29.782Z
