CVE-2025-0317

HIGH7.5EPSS 2.1%

Ollama Divide By Zero vulnerability

Published: 3/20/2025Modified: 3/31/2025
Also known as:GHSA-9gcr-28rp-cc24GO-2025-3559

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (4)