CVE-2024-8063

Source
https://cve.org/CVERecord?id=CVE-2024-8063
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8063.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8063
Aliases
Downstream
Related
Published
2025-03-20T10:10:56.139Z
Modified
2026-07-08T08:05:29.032806602Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Divide by Zero in ollama/ollama
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8063.json",
    "cwe_ids": [
        "CWE-369"
    ],
    "cna_assigner": "@huntr_ai"
}
References

Affected packages

Git / github.com/ollama/ollama

Affected ranges

Type
GIT
Repo
https://github.com/ollama/ollama
Events
Database specific
{
    "cpe": "cpe:2.3:a:ollama:ollama:0.3.3:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.3.3"
        },
        {
            "last_affected": "0.3.3"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.3.3
v0.*
v0.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8063.json"