VDB

CVE-2024-8063

CVE-2024-8063 PUBLISHED CVSS 7.5 HIGH

Divide by Zero in ollama/ollama

Reported by @huntr_ai · Published March 20, 2025

ollama is fixed in 0.3.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ollamaPyPI0.3.3
github.com/ollama/ollamaGo Modules0.3.3
modsWolfi1.8.1-r14
modsChainguard1.8.1-r14
ollama/ollamaollamalatest

Risk scores

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

Affected products

VendorProductVersions
ollamaollama/ollamaunspecified
wolfik8sgpt*
chainguardk8sgpt*
chainguardollama-fips*
ollamaollama/ollama*
github.comollama/ollama0
wolfimods0
chainguardmods0

Timeline

  • Mar 20, 2025 CVE Published
  • Mar 20, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 27, 2025 Coalition ESS Score (8 in total, the first dated here)
  • Dec 27, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-8063
vulnetix vdb fixes CVE-2024-8063

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8063/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›