Ollama
CVE-2026-15685
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Ollama API (port 11434)
-
DeliverySend crafted downloadBlob request
-
ExploitTrigger out-of-bounds array access
-
ExecutionProcess panics and terminates
-
ImpactLLM 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path,
Remote code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) lets an attacker who can influence HTTP up
Silent auto-update code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) stems from an update-verificat
Heap out-of-bounds read in Ollama's GGUF model loader (<0.17.1) leaks sensitive memory contents including API keys, envi
Remote denial of service in Ollama (HEAD f0078ae) allows unauthenticated attackers to crash the entire server by uploadi
Denial of service in Ollama's multi-modal image processing (versions 0.11.5-rc0 through 0.13.5) lets remote attackers cr
An issue was discovered in Ollama before 0.1.46. Rated high severity (CVSS 8.2), this vulnerability is remotely exploita
A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by
Information disclosure in Ollama's model quantization engine (confirmed affected in v0.13.5) allows remote, unauthentica
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model
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
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]
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB