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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0317.json",
"cwe_ids": [
"CWE-369"
],
"cna_assigner": "@huntr_ai"
}{
"cpe": "cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.3.14"
}
],
"source": "CPE_RANGE"
}