OllamaPublished 20 Mar 2025NVD status: Analyzed

CVE-2024-8063

A divide by zero vulnerability exists in ollama/ollama version v0.3.3.

ComponentOllama
Severityhigh (CVSS 7.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published (NVD)2025-03-20
Last modified2026-06-17
Affected versions
<= 0.3.3
from the GitHub-reviewed advisory GHSA-2xf2-gjm6-g2c6
Fixed insee the vendor advisory
WeaknessCWE-369
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads = 0.3.3. The ranges above come from the GitHub-reviewed advisory GHSA-2xf2-gjm6-g2c6. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD 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.

What to do

Sources

Read more