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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-0312— NULL Pointer Dereference 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及之前版本存在代码问题漏洞,该漏洞源于未检查空指针取消引用,可能导致拒绝服务攻击。

AI Predicted 7.5 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-2025-0312

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
NULL Pointer Dereference in ollama/ollama
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when uploaded and created on the Ollama server, can cause a crash due to an unchecked null pointer dereference. This can lead to a Denial of Service (DoS) attack via remote network.
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及之前版本存在代码问题漏洞,该漏洞源于未检查空指针取消引用,可能导致拒绝服务攻击。
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-2025-0312

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-0312

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

Vendor Advisories for CVE-2025-0312 (1)

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

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
CVE-2024-8063 Divide by Zero in ollama/ollama

IV. Related Vulnerabilities

V. Comments for CVE-2025-0312

No comments yet


Leave a comment