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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-8063— Divide by Zero 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 v0.3.3版本存在数字错误漏洞,该漏洞源于导入GGUF模型时,block_count类型特制可能导致除零错误,引发拒绝服务。

AI Predicted 5.3 Difficulty: Easy EPSS 0.63% · P48

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-8063

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
Divide by Zero in ollama/ollama
Source: CVE Program / CVE List V5
Vulnerability Description
A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.
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 v0.3.3版本存在数字错误漏洞,该漏洞源于导入GGUF模型时,block_count类型特制可能导致除零错误,引发拒绝服务。
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-8063

# 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-8063

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

Vendor Advisories for CVE-2024-8063 (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-12055 DoS using malicious gguf model file in ollama/ollama

IV. Related Vulnerabilities

V. Comments for CVE-2024-8063

No comments yet


Leave a comment