CVE-2025-0317

Summary

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 Software

VendorProductVersion RangeStatus
ollamaollama/ollamaunspecified <= latestaffected

Weaknesses

  • CWE-369: CWE-369 Divide By Zero

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

References