CVE-2025-0317

HIGH

ollama <= 0.3.14 - Denial of Service via GGUF Model File Division By Zero

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.1108
EPSS Percentile 95.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-369
Status published
Products (2)
ollama/ollama < 0.3.14
ollama/ollama 0Go
Published Mar 20, 2025
Tracked Since Feb 18, 2026