CVE-2024-8063

High

Description

A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.

SeverityHigh
CVSS7.5
Exploit probability—
ProductOllama
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-369CWE-369

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
ollama ollama0.3.3—
ollamaPyPIv ≤ 0.3.3—
github.com/ollama/ollamaGov ≤ 0.3.3, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.