Skip to main content

Ollama CVE-2026-15685

HIGH
Improper Validation of Array Index (CWE-129)
2026-07-13 zdi
7.5
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Ollama API (port 11434)
  2. Delivery
    Send crafted downloadBlob request
  3. Exploit
    Trigger out-of-bounds array access
  4. Execution
    Process panics and terminates
  5. Impact
    LLM service denied to users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires network reachability to the Ollama HTTP API (default port 11434) and the ability to invoke the blob/model download code path handled by downloadBlob; no authentication, credentials, or user interaction are needed (PR:N/UI:N/AC:L). The primary limiting factor is exposure: Ollama binds to 127.0.0.1 by default, so instances left at the default are only reachable locally - remote exploitation depends on the operator having bound the service to an external interface (e.g., OLLAMA_HOST=0.0.0.0) or fronting it with a proxy. Impact is confined to availability (service crash); it does not yield code execution or data disclosure despite the mislabeled 'Information Disclosure' tag.

Impact

The CVSS 3.0 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a low-complexity, network-reachable, unauthenticated attack with impact limited strictly to availability - no confidentiality or integrity loss. This is a service-crash DoS, not code execution or data theft, which caps real-world severity despite the 7.5 score. No EPSS score, KEV entry, POC, or SSVC decision data was provided, so exploitation likelihood cannot be quantified from the input; the finding originates from ZDI's coordinated-disclosure program rather than observed in-the-wild activity. Note a conflict in the source data: the intelligence tag reads 'Information Disclosure,' yet the CVSS vector sets C:N/I:N and only A:H - the tag appears mislabeled and should be treated as a denial-of-service issue per the authoritative vector and description; verify with the ZDI advisory. A further mitigating factor is that Ollama binds to localhost (127.0.0.1) by default, so the network vector is only realistic where the operator has exposed the API to a broader network.

Exploit ScenarioDerived

An attacker who can reach an Ollama instance exposed beyond localhost sends a single crafted request to the model/blob download path containing a manipulated index or length value. The malformed input drives an out-of-bounds array access in downloadBlob, causing the Ollama process to panic and terminate, taking the LLM service offline for all users. Given AC:L and PR:N, this requires no authentication and only a low-effort, repeatable request; no public POC was provided.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Denial-of-service in Ollama's downloadBlob function lets remote, unauthenticated attackers crash affected installations by supplying malformed data that triggers an out-of-bounds array access. The flaw (ZDI-CAN-27277 / ZDI-26-403, CWE-129) carries a CVSS 7.5 with an availability-only impact and requires no authentication or user interaction. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch version was identified in the provided data, so upgrade to the latest available Ollama release once the maintainers publish a fixed build and monitor the ZDI advisory ZDI-26-403 (https://www.zerodayinitiative.com/advisories/ZDI-26-403/) and Ollama's release notes for the confirmed fixed version. As compensating controls, ensure the Ollama API is bound only to localhost (its default OLLAMA_HOST of 127.0.0.1) rather than 0.0.0.0, which prevents remote reachability entirely at the cost of blocking legitimate remote clients; where remote access is required, place Ollama behind an authenticating reverse proxy or restrict the listening port (default 11434) via firewall/security-group rules to trusted source addresses only, accepting the added operational overhead. Because the fault is a crash-style DoS, run the service under a supervisor (systemd restart, container restart policy) so it auto-recovers, understanding this reduces downtime but does not stop repeated attacks.

Affected Packages

pypi ollama no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ollama is a widely used self-hosted runtime for running and serving large language models locally, exposing an HTTP API for model management including blob/model downloads. The vulnerability is rooted in CWE-129 (Improper Validation of Array Index): the downloadBlob function does not properly validate a user-supplied value before using it as an index into an allocated array, permitting a memory access past the end of that array. In Ollama's Go implementation this class of bug typically surfaces as a slice/array bounds violation leading to a runtime panic that terminates the server process, consistent with the availability-only impact in the CVSS vector. The single CPE, cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*, indicates all versions are flagged pending a vendor-confirmed fixed release.

Know when Ollama gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Unauthenticated low-complexity request over the network (AV:N/AC:L/PR:N/UI:N) crashes the service, so availability-only A:H with C:N/I:N; scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 7.5 HIGH

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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

The specific flaw exists within the downloadBlob function. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated array. An attacker can leverage this vulnerability to create a denial-of-service condition on the system. Was ZDI-CAN-27277.

Executive ViewAI

Why It Matters

Ollama is vulnerable to a remote denial-of-service attack that allows unauthenticated attackers to crash affected installations without user interaction. Any organization with internet-exposed Ollama instances faces immediate risk of service disruption and operational downtime. This vulnerability should be treated as a priority for network isolation or access control implementation pending vendor patch availability.

Business Impact: High
Compensating Controls

Implement network segmentation to restrict Ollama access to internal networks only; deploy reverse proxy or WAF rules to validate and sanitize incoming requests to the downloadBlob endpoint; implement connection rate limiting to reduce denial-of-service impact; establish monitoring alerts for Ollama service crashes and abnormal restart patterns.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular self-hosted local LLM runtime, common among developers, not ubiquitous enterprise-wide
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

More in Ollama

View all
CVE-2024-37032 HIGH POC
8.8 May 31

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path,

CVE-2026-42249 HIGH POC
7.7 Apr 29

Remote code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) lets an attacker who can influence HTTP up

CVE-2026-42248 HIGH POC
7.7 Apr 29

Silent auto-update code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) stems from an update-verificat

CVE-2026-7482 HIGH POC
8.8 May 04

Heap out-of-bounds read in Ollama's GGUF model loader (<0.17.1) leaks sensitive memory contents including API keys, envi

CVE-2026-65315 HIGH POC
8.7 Jul 21

Remote denial of service in Ollama (HEAD f0078ae) allows unauthenticated attackers to crash the entire server by uploadi

CVE-2025-15514 HIGH POC
8.7 Jan 12

Denial of service in Ollama's multi-modal image processing (versions 0.11.5-rc0 through 0.13.5) lets remote attackers cr

CVE-2024-39720 HIGH POC
8.2 Oct 31

An issue was discovered in Ollama before 0.1.46. Rated high severity (CVSS 8.2), this vulnerability is remotely exploita

CVE-2025-1975 HIGH POC
7.5 May 16

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by

CVE-2026-5757 HIGH POC
7.5 Jun 26

Information disclosure in Ollama's model quantization engine (confirmed affected in v0.13.5) allows remote, unauthentica

CVE-2025-0317 HIGH POC
7.5 Mar 20

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model

CVE-2025-66960 HIGH POC
7.5 Jan 21

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 rea

CVE-2025-66959 HIGH POC
7.5 Jan 21

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the GGUF decoder [CVSS 7.5 HIGH]

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy