7.5high
NULL Pointer Dereference in ollama/ollama
- Severity
- 7.5high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.64% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-p2wh-w96x-w232GO-2025-3582
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ollama ollama/ollama | from unspecified up to latest | CVE List |
| github.com/ollama/ollama (Go) | up to 0.3.14, all versions | GitHub Advisory Database, Go Vulnerability Database |
| ollama ollama | up to 0.3.14 | NVD |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
Ollama Denial of Service (DoS) via Null Pointer Dereference in github.com/ollama/ollama
NVD (es)
Una vulnerabilidad en ollama/ollama versiones anteriores a la 0.3.14 permite a un usuario malintencionado crear un archivo de modelo GGUF personalizado que, al cargarse y crearse en el servidor Ollama, puede provocar un bloqueo debido a una desreferencia de puntero nulo no comprobada. Esto puede provocar un ataque de denegación de servicio (DoS) a través de una red remota.
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 | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-0312 changed 2025-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p2wh-w96x-w232 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3582 changed 2026-06-30 | CC-BY-4.0 |
| NVD | CVE-2025-0312 changed 2026-06-17 | Public domain |