Skip to content
OllamaGHSA-2xf2-gjm6-g2c6

Ollama Divide by Zero Vulnerability

High7.5CVE-2024-8063 · Published Mar 20, 2025 · updated Sep 10, 2026

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
github.com/ollama/ollama
Go
<= 0.3.3No fix yet
Details and references

More Ollama advisories

All Ollama
Advisory
Ollama Server Vulnerable to Denial of Service (DoS) Attack
High7.5May 16, 2025
Ollama Divide By Zero vulnerability
High7.5Mar 20, 2025
Ollama Allocation of Resources Without Limits or Throttling vulnerability
High7.5Mar 20, 2025
Ollama Denial of Service (DoS) via Null Pointer Dereference
High7.5Mar 20, 2025
Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP
High7.5Mar 20, 2025
Ollama Allows Out-of-Bounds Read
High7.5Mar 20, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.