CVE-2025-0317 HIGH

CVE-2025-0317: Divide By Zero in ollama/ollama

Vendor Ollama
Product ollama/ollama
Weakness CWE-369
Published March 20, 2025
Last update March 20, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 20, 2025 CVE published
March 20, 2025 Record updated