SECURITY & CVE TRACK RECORD

Ollama Security Advisories, CVEs & Patched Versions

Historical vulnerability disclosures, CVSS severity ratings, affected version ranges, and verified patch releases for Ollama.

Total Tracked Advisories
31
16 distinct CVE numbers
Critical & High Severity
12
39% of all disclosures
Latest Security Fix
0.17.1
Read patch changelog →
Security Posture Status
High Scrutiny
Deterministic OSV.dev telemetry
Tracked Vulnerability Timeline (31)
🛡️ CVE-2026-7020 GO-2026-5750 Jul 27, 2026
UNRATED

Ollama is Vulnerable to Path Traversal in github.com/ollama/ollama

Ollama is Vulnerable to Path Traversal in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2026-7482 GHSA-x8qc-fggm-mpqg May 04, 2026
CRITICAL (CVSS 9.1)

Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader

Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go ...

Vulnerable Range: 0 -> 0.17.1
Official Advisory Source ↗
🛡️ CVE-2026-7020 GHSA-x99g-8v8j-25j2 Apr 26, 2026
MEDIUM (CVSS 5.6)

Ollama is Vulnerable to Path Traversal

A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the file x/imagegen/transfer/transfer.go of the component Tensor Model Transfer Handler. The manipulation of the argument digest results in path traversal. The attack may be p...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-63389 GO-2025-4251 Jan 14, 2026
UNRATED

Ollama has missing authentication enabling attackers to perform model management operations in github.com/ollama/ollama

Ollama has missing authentication enabling attackers to perform model management operations in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-63389 GHSA-f6mr-38g8-39rg Dec 18, 2025
CRITICAL

Ollama Platform has missing authentication enabling attackers to perform model management operations

A critical authentication bypass vulnerability exists in Ollama platform's API endpoints in versions prior to and including v0.12.3. The platform exposes multiple API endpoints without requiring authentication, enabling remote attackers to perform unauthorized model management...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-51471 GO-2025-3824 Jul 30, 2025
UNRATED

Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama

Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-51471 GHSA-x9hg-5q6g-q3jr Jul 22, 2025
MEDIUM (CVSS 6.9)

Ollama vulnerable to Cross-Domain Token Exposure

Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication tokens and bypass access controls via a malicious realm value in a WWW-Authenticate header returned by the /api/pull endpoint.

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-1975 GO-2025-3695 May 22, 2025
UNRATED

Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama

Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-1975 GHSA-wrh5-cmwx-q2qr May 16, 2025
HIGH (CVSS 7.5)

Ollama Server Vulnerable to Denial of Service (DoS) Attack

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-8063 GO-2025-3689 May 15, 2025
UNRATED

Ollama Divide by Zero Vulnerability in github.com/ollama/ollama

Ollama Divide by Zero Vulnerability in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0312 GO-2025-3582 Apr 01, 2025
UNRATED

Ollama Denial of Service (DoS) via Null Pointer Dereference in github.com/ollama/ollama

Ollama Denial of Service (DoS) via Null Pointer Dereference in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-12886 GO-2025-3548 Mar 31, 2025
UNRATED

Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP in github.com/ollama/ollama

Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP in github.com/ollama/ollama

Vulnerable Range: 0 -> 0.4.0-ci1
Fix Version: 0.4.0-ci1
Official Advisory Source ↗
🛡️ CVE-2025-0315 GO-2025-3557 Mar 31, 2025
UNRATED

Ollama Allocation of Resources Without Limits or Throttling vulnerability in github.com/ollama/ollama

Ollama Allocation of Resources Without Limits or Throttling vulnerability in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-12055 GO-2025-3558 Mar 31, 2025
UNRATED

Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama

Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0317 GO-2025-3559 Mar 31, 2025
UNRATED

Ollama Divide By Zero vulnerability in github.com/ollama/ollama

Ollama Divide By Zero vulnerability in github.com/ollama/ollama

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0317 GHSA-9gcr-28rp-cc24 Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Divide By Zero vulnerability

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Se...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0315 GHSA-fccc-8m69-8r78 Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Allocation of Resources Without Limits or Throttling vulnerability

A vulnerability in ollama/ollama <=0.3.14 allows a malicious user to create a customized GGUF model file, upload it to the Ollama server, and create it. This can cause the server to allocate unlimited memory, leading to a Denial of Service (DoS) attack.

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2025-0312 GHSA-p2wh-w96x-w232 Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Denial of Service (DoS) via Null Pointer Dereference

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when uploaded and created on the Ollama server, can cause a crash due to an unchecked null pointer dereference. This can lead to a Denial of Service (DoS) at...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-8063 GHSA-2xf2-gjm6-g2c6 Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Divide by Zero Vulnerability

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

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-12886 GHSA-v464-r2r9-www7 Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP

An Out-Of-Memory (OOM) vulnerability exists in the `ollama` server version 0.3.14. This vulnerability can be triggered when a malicious API server responds with a gzip bomb HTTP response, leading to the `ollama` server crashing. The vulnerability is present in the `makeRequest...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-12055 GHSA-89qx-m49c-8crf Mar 20, 2025
HIGH (CVSS 7.5)

Ollama Allows Out-of-Bounds Read

A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause ...

Vulnerable Range: 0 -> unfixed
Fix Version: Review Advisory
Official Advisory Source ↗
🛡️ CVE-2024-39720 GHSA-95j2-w8x7-hm88 Oct 31, 2024
HIGH (CVSS 8.2)

Ollama Out-of-bounds Read

An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-c...

Vulnerable Range: 0 -> 0.1.46
Official Advisory Source ↗
🛡️ CVE-2024-37032 GHSA-8hqg-whrw-pv92 May 31, 2024
MEDIUM

Ollama does not validate the format of the digest (sha256 with 64 hex digits)

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial `../` substring.

Vulnerable Range: 0 -> 0.1.34
Official Advisory Source ↗
🛡️ CVE-2024-28224 GHSA-5jx5-hqx5-2vrj Apr 08, 2024
HIGH (CVSS 8.8)

Ollama DNS rebinding vulnerability

Ollama before 0.1.29 has a DNS rebinding vulnerability that can inadvertently allow remote access to the full API, thereby letting an unauthorized user chat with a large language model, delete a model, or cause a denial of service (resource exhaustion).

Vulnerable Range: 0 -> 0.1.29
Official Advisory Source ↗