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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-12055— DoS using malicious gguf model file in ollama/ollama

Quick assessment

Affected
ollama ollama/ollama
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Ollama是Ollama开源的一个可以在本地启动并运行的大型语言模型。 Ollama 0.3.14及之前版本存在缓冲区错误漏洞,该漏洞源于gguf.go文件中越界读取,可能导致拒绝服务攻击。

AI Predicted 5.3 Difficulty: Easy EPSS 0.80% · P55

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-12055

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
DoS using malicious gguf model file in ollama/ollama
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.
Source: CVE Program / CVE List V5
CVSS Information
N/A
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 0.3.14及之前版本存在缓冲区错误漏洞,该漏洞源于gguf.go文件中越界读取,可能导致拒绝服务攻击。
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

Vendor Product Affected Versions CPE Subscribe
ollama ollama/ollama unspecified ~ latest -

II. Public POCs for CVE-2024-12055

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-12055

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-12055 (1)

Same Patch Batch · ollama · 2025-03-20 · 6 CVEs total

CVE-2025-0312 NULL Pointer Dereference in ollama/ollama
CVE-2025-0317 Divide By Zero in ollama/ollama
CVE-2025-0315 Allocation of Resources Without Limits or Throttling in ollama/ollama
CVE-2024-12886 Out-Of-Memory (OOM) Vulnerability in ollama/ollama
CVE-2024-8063 Divide by Zero in ollama/ollama

IV. Related Vulnerabilities

V. Comments for CVE-2024-12055

No comments yet


Leave a comment