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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-12886— Out-Of-Memory (OOM) Vulnerability 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版本存在资源管理错误漏洞,该漏洞源于未正确处理gzip炸弹响应,可能导致内存耗尽和拒绝服务攻击。

AI Predicted 7.5 Difficulty: Easy EPSS 0.72% · P52
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-12886

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
Out-Of-Memory (OOM) Vulnerability in ollama/ollama
Source: CVE Program / CVE List V5
Vulnerability Description
An Out-Of-Memory (OOM) vulnerability exists in the `ollama` server version 0.3.14. This vulnerability can be triggered when a malicious API server responds with a gzip bomb HTTP response, leading to the `ollama` server crashing. The vulnerability is present in the `makeRequestWithRetry` and `getAuthorizationToken` functions, which use `io.ReadAll` to read the response body. This can result in excessive memory usage and a Denial of Service (DoS) condition.
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版本存在资源管理错误漏洞,该漏洞源于未正确处理gzip炸弹响应,可能导致内存耗尽和拒绝服务攻击。
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-12886

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

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

Vendor Advisories for CVE-2024-12886 (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-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-2024-12886

No comments yet


Leave a comment