CVE-2025-0312
HIGH 7.5CVSS 3.1Ollama Denial of Service (DoS) via Null Pointer Dereference
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.
- Published
- 20 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-476
- Also known as
- GHSA-p2wh-w96x-w232GO-2025-3582
- Sources
- NVDJSONOSV GHSA-p2wh-w96x-w232JSONOSV GO-2025-3582JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ollama | ollamacpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* |
<= 0.3.14 | |
| OSV | Go | github.com/ollama/ollama | <= 0.3.14 | |
| OSV | Go | github.com/ollama/ollama | all versions |
References
- https://huntr.com/bounties/522c87b6-a7ac-41b2-84f3-62fd58921f21 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-0312 · ADVISORY
- https://github.com/ollama/ollama · PACKAGE
- https://github.com/advisories/GHSA-p2wh-w96x-w232 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2025)