Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 7.5 · High EPSS 0.57% · P44

Affected Version Matrix 1

VendorProductVersion RangeStatus
OllamaOllama≤ f0078aeaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-65315

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的内存分配
Source: CVE Program / CVE List V5
Vulnerability Title
Ollama 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ollama是Ollama公司开源的一个可以在本地设备上运行、管理和自定义大语言模型的工具。 Ollama f0078ae之前版本存在资源管理错误漏洞,该漏洞源于GGUF元数据解析器中存在不受控制的内存分配问题,导致远程攻击者通过上传特制的GGUF文件,其中使用攻击者控制的长度和计数字段(如字符串长度、张量维度计数和元数据数组计数)作为分配大小且未经验证,可引发Go运行时内存耗尽致命错误或makeslice恐慌,绕过恢复中间件并使整个服务器进程崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
OllamaOllama 0 ~ f0078ae -

II. Public POCs for CVE-2026-65315

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 7563 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-65315

登录查看更多情报信息。

Vendor Advisories for CVE-2026-65315 (1)

Proof of Concept for CVE-2026-65315 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-65315

No comments yet


Leave a comment