CVE-2025-0312
JSON

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 packageVersionsReported by
ollama ollama/ollamafrom unspecified up to latestCVE List
github.com/ollama/ollama (Go)up to 0.3.14, all versionsGitHub Advisory Database, Go Vulnerability Database
ollama ollamaup to 0.3.14NVD

All scores

@huntr_ai7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

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

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-0312 changed 2025-03-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-p2wh-w96x-w232 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3582 changed 2026-06-30CC-BY-4.0
NVDCVE-2025-0312 changed 2026-06-17Public domain