Skip to content
DoS Disclosed report Intermediate CVE-2025-0315

Ollama Allocation of Resources Without Limits or Throttling vulnerability

A malicious user can upload a crafted GGUF model file to an Ollama server, causing unlimited memory allocation and a denial of service. The vulnerability affects Ollama versions up to 0.3.14.

github.com/ollama/ollama

Originally disclosed on huntr

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.

From the GitHub Advisory Database (GHSA-fccc-8m69-8r78, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the server does not limit the amount of memory a model file can request when loading it.

Impact

An attacker could cause the server to run out of memory and become unavailable, affecting all users of that Ollama instance.

What the attacker needed

Access to upload a model to Ollama

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Ollama is a tool for running large language models locally. A malicious user can give it a specially crafted model file that makes the program use up all the computer's memory, so the server stops working for everyone. This is called a denial of service because it stops the service from being available.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from github.com/ollama/ollama

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.