Vulnerabilities · 2025 · Ollama
CVE-2025-0317
Ollama vulnerability
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.
Affected products
Ollama. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ollama runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Ollama products
CVE-2025-66960CVE-2025-66959CVE-2025-63389CVE-2025-51471CVE-2025-44779CVE-2025-15514CVE-2025-1975CVE-2025-0315All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.