Skip to content
HighVulnerability

CVE-2025-0317: Ollama denial of service via crafted GGUF model file upload

Identifier
CVE-2025-0317
Published
Record updated
View JSON
Affected
  • github.com/ollama/ollama <= 0.3.14
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
14.5%

Summary

CVE-2025-0317 affects ollama/ollama versions <=0.3.14. A malicious user who can upload and create a customized GGUF model file on the Ollama server can trigger a division by zero error in the ggufPadding function. The server then crashes, resulting in a Denial of Service (DoS) attack. The weakness is classified as CWE-369 (Divide By Zero).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.