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

Published Jul 21, 2026
·
Updated

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.

Affected Software

1 affected component
Ollama Ollama=HEAD f0078ae

Event History

Jul 21, 2026
CVE Published
via MITRE·09:18 PM
Data Sourced
via MITRE·09:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-65315?

CVE-2026-65315 has a severity rating of high, specifically 7.5 on the CVSS scale.

2

How does CVE-2026-65315 affect systems?

CVE-2026-65315 allows remote attackers to crash the server by providing a specially crafted GGUF file.

3

What causes the vulnerability in CVE-2026-65315?

CVE-2026-65315 is caused by uncontrolled memory allocation in the GGUF metadata parser of the Ollama software.

4

What software is impacted by CVE-2026-65315?

CVE-2026-65315 impacts the Ollama software, specifically the HEAD f0078ae version.

5

How can I mitigate the risk of CVE-2026-65315?

To mitigate the risk of CVE-2026-65315, ensure that you apply updates or patches from the Ollama team that address this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203