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
Share

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
qualitative
Red Hat
7.5 HIGH
qualitative

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

Lifecycle Timeline

2
Analysis Generated
Jul 13, 2026 - 22:00 vuln.today
CVE Published
Jul 13, 2026 - 21:30 cve.org
HIGH 7.5

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

CVE-2024-8063 HIGH POC
7.5 Mar 20

A divide by zero vulnerability exists in ollama/ollama version v0.3.3. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2025-0312 HIGH POC
7.5 Mar 20

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that,

CVE-2024-12055 HIGH POC
7.5 Mar 20

A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be u

CVE-2024-39722 HIGH POC
7.5 Oct 31

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

CVE-2024-39721 HIGH POC
7.5 Oct 31

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

Vendor StatusVendor

SUSE

Severity: Moderate

Share

CVE-2026-15685 vulnerability details – vuln.today

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