CyberSecBulletin

Ollama vulnerabilities

We track 24 vulnerabilities in Ollama products across 2 products. 24 are rated high or critical, and none are known to be exploited. The most recent was published on October 12, 2026.

24vulnerabilities
5critical
19high
0exploited
8.0average CVSS score

Latest Ollama vulnerabilities

  • 7.3 High severity

    Ollama: Server-Side Request Forgery

    CVE-2026-108836Ollama

    A vulnerability has been found in Ollama up to 0.34.1. The affected element is the function IsValid of the file types/model/name.go of the component Pull API. The manipulation leads to server-side request forgery. It is possible to initiate the attack remotely

  • 9.4 Critical severity

    Ollama: Relative Path Traversal

    CVE-2026-103663Ollama

    Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenticated remote attacker can specify a path traversal sequence as a layer digest, causing a malicious b

  • 7.8 High severity

    ollama: Incorrect Authorization

    CVE-2026-102697Ollama

    Ollama versions 0.14.0 before 0.31.2 contain an incorrect authorization vulnerability in the experimental agent mode Bash tool approval mechanism that fails to properly parse shell syntax. Attackers who can influence model output through prompt injection can e

  • 7.5 High severity

    ollama: Server-Side Request Forgery

    CVE-2026-85180Ollama

    Ollama fails to validate redirect destinations when pulling tensor-layer models, allowing unauthenticated attackers to redirect blob downloads to arbitrary hosts. An attacker can control a registry, serve a malicious tensor-layer manifest, and cause the server

  • 7.5 High severity

    Ollama: Memory Allocation with Excessive Size Value

    CVE-2026-65315Ollama

    Ollama (HEAD f0078ae) contains an uncontrolled memory allocation vulnerability in the GGUF metadata parser that allows remote attackers to crash the server by supplying a crafted GGUF file with attacker-controlled length and count fields in string lengths, ten

  • 7.5 High severity

    Ollama: Improper Validation of Array Index

    CVE-2026-15685Ollama

    Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of Ollama. Authentication is not required to exploit this vulne

  • 9.1 Critical severity

    ollama: Out-of-bounds Read

    CVE-2026-7482OllamaEPSS 7.08%

    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

  • 9.8 Critical severity

    Ollama: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-42249OllamaEPSS 1.05%

    Ollama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper handling of attacker‑controlled HTTP response headers. When downloading updates, the application constructs local file paths using values derived from HTT

  • 9.8 Critical severity

    Ollama: Download of Code Without Integrity Check

    CVE-2026-42248Ollama

    Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables. Unlike other platforms, the Windows implementation of the update verification routine unconditionally returns success so no digital signature or trust

  • 7.5 High severity

    An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the…

    CVE-2025-66960Ollama

    An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the fs/ggml/gguf.go, function readGGUFV1String reads a string length from untrusted GGUF metadata

  • 7.5 High severity

    Ollama: Use of NullPointerException Catch to Detect NULL Pointer Dereference

    CVE-2025-15514Ollama

    Ollama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functionality. When processing base64-encoded image data via the /api/chat endpoint, the application fails to validate t

  • 9.8 Critical severity

    Ollama: Missing Authentication for Critical Functionality

    CVE-2025-63389Ollama

    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

  • 7.5 High severity

    ollama/ollama: Improper Validation of Array Index

    CVE-2025-1975Ollama

    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

  • 7.5 High severity

    ollama/ollama: Divide By Zero

    CVE-2025-0317OllamaEPSS 14.5%

    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

  • 7.5 High severity

    ollama/ollama: Allocation of Resources Without Limits or Throttling

    CVE-2025-0315Ollama

    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.

  • 7.5 High severity

    ollama/ollama: NULL Pointer Dereference

    CVE-2025-0312Ollama

    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

  • 7.5 High severity

    ollama/ollama: Divide By Zero

    CVE-2024-8063Ollama

    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 th

  • 7.5 High severity

    ollama/ollama: Improper Handling of Highly Compressed Data (Data Amplification)

    CVE-2024-12886Ollama

    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

  • 7.5 High severity

    ollama/ollama: Out-of-bounds Read

    CVE-2024-12055Ollama

    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

  • 7.5 High severity

    ollama: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-39722OllamaEPSS 3.97%

    An issue was discovered in Ollama before 0.1.46. It exposes which files exist on the server on which it is deployed via path traversal in the api/push route.

  • 7.5 High severity

    ollama: Improper Resource Shutdown or Release

    CVE-2024-39721OllamaEPSS 2.67%

    An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. The req.Path parameter is user-controlled and can be set to /dev/random, which is blocking, causing the goroutine to run infinitely (

  • 8.2 High severity

    ollama: Out-of-bounds Read

    CVE-2024-39720OllamaEPSS 2.44%

    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

  • 7.5 High severity

    ollama: Generation of Error Message Containing Sensitive Information

    CVE-2024-39719OllamaEPSS 4.24%

    An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the CreateModel route with a path parameter that does not exist, it reflects the "File does not exist" error message to the attacker, providing a

  • 8.8 High severity

    Ollama: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-37032OllamaEPSS 89.6%

    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.