Browse / Unsafe Model Loading and Supply Chain / CVE-2025-0315
Ollama Allocation of Resources Without Limits or Throttling vulnerability
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Denial of service
- Also involves
- Unbounded Consumption
- 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.7% chance of exploitation in 30 days
How it works, in short
A crafted GGUF model file makes the server allocate unbounded memory when it is created, exhausting resources. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in ollama/ollama <=0.3.14 allows a malicious user to create a customized GGUF model file, upload it to the Ollama server, and create it. This can cause the server to allocate unlimited memory, leading to a Denial of Service (DoS) attack.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-0315
- https://github.com/ollama/ollama
- https://huntr.com/bounties/da414d29-b55a-496f-b135-17e0fcec67bc
Source: GitHub Advisory Database, used under CC BY 4.0.