INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2025-0312

Ollama Denial of Service (DoS) via Null Pointer Dereference

CVE-2025-0312 ยท 2025-03-20 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Denial of service
Affected
github.com/ollama/ollama (Go)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

A crafted GGUF model file triggers an unchecked null pointer dereference when the server creates the model, crashing the service remotely. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.