CVE-2025-0317

published 20 Mar 2025 · updated 20 Mar 2025

Divide By Zero in ollama/ollama

8.0HighCVSS 7.5EPSS 15%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 15%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Ollama<=latest

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-0317 severity on Zeptric[![CVE-2025-0317](https://zeptric.io/badge/cve/CVE-2025-0317.svg)](https://zeptric.io/cve/CVE-2025-0317)