High severity · published Mar 20, 2025
CVE-2025-0312
NULL Pointer Dereference in ollama/ollama
7.5
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OL
ollama/ollama · ollama
through latest · source: vendor
OL
Ollama · Ollama
through 0.3.14 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-0312
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-0312
Exploit
https://huntr.com/bounties/522c87b6-a7ac-41b2-84f3-62fd58921f21
More from ollama/ollama
7.5
CVE-2025-1975
Improper Validation of Array Index in ollama/ollama
7.5
CVE-2024-8063
Divide by Zero in ollama/ollama
7.5
CVE-2024-12886
Out-Of-Memory (OOM) Vulnerability in ollama/ollama
7.5
CVE-2025-0317
Divide By Zero in ollama/ollama
7.5
CVE-2025-0315
Allocation of Resources Without Limits or Throttling in ollama/ollama
