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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-6816 Ollama Denial of Service (DoS) via Null Pointer Dereference
Github GHSA Github GHSA GHSA-p2wh-w96x-w232 Ollama Denial of Service (DoS) via Null Pointer Dereference
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 28 Mar 2025 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
CPEs cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
Vendors & Products Ollama
Ollama ollama
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Fri, 21 Mar 2025 15:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 20 Mar 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Mar 2025 10:15:00 +0000

Type Values Removed Values Added
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.
Title NULL Pointer Dereference in ollama/ollama
Weaknesses CWE-476
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2025-03-20T18:15:26.946Z

Reserved: 2025-01-07T17:56:32.141Z

Link: CVE-2025-0312

cve-icon Vulnrichment

Updated: 2025-03-20T17:50:28.930Z

cve-icon NVD

Status : Analyzed

Published: 2025-03-20T10:15:52.280

Modified: 2025-03-28T14:11:12.457

Link: CVE-2025-0312

cve-icon Redhat

Severity : Important

Publid Date: 2025-03-20T10:10:53Z

Links: CVE-2025-0312 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses