CVE-2026-15685
Analyzed Analyzed - Analysis Complete

Ollama downloadBlob Array Index Validation DoS

Vulnerability report for CVE-2026-15685, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-13

Last updated on: 2026-07-14

Assigner: Zero Day Initiative

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-14
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-01
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ollama ollama 0.7.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-129 The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-15685 is a denial-of-service vulnerability in Ollama's software. It exists in the downloadBlob function, where improper validation of user-supplied data allows an attacker to access memory beyond the end of an allocated array.

This flaw does not require authentication, meaning any remote attacker can exploit it. The vulnerability can cause the system to crash or become unresponsive, leading to a denial-of-service condition.

  • The issue is classified as an improper validation of array index vulnerability.
  • The CVSS v3.0 base score is 7.5, indicating high severity with no impact on confidentiality or integrity but a high impact on availability.
Detection Guidance

Detecting this vulnerability on your network or system requires checking for signs of exploitation or verifying if the affected Ollama software version is running. Since the vulnerability is in the downloadBlob function and can be exploited remotely without authentication, you can monitor network traffic for unusual patterns targeting Ollama services.

  • Check if Ollama is running on your system. On Linux, you can use: ps aux | grep ollama
  • Inspect network traffic for unexpected connections to Ollama services. Use tools like tcpdump or Wireshark to filter traffic on the default Ollama ports (if known). Example: tcpdump -i any port <Ollama_port>
  • Review system logs for crashes or unusual behavior in Ollama processes. Check logs in /var/log/ or journalctl -u ollama (if running as a service).
  • Verify the installed version of Ollama. If the version is outdated or unpatched, it may be vulnerable. Use: ollama --version or check package managers like apt list --installed | grep ollama (Debian-based) or rpm -qa | grep ollama (RHEL-based).

Since the vulnerability involves improper array index validation, exploitation may lead to process crashes. Monitoring for frequent crashes or unresponsive Ollama services can indicate an attack.

Impact Analysis

If you use Ollama, this vulnerability could allow an attacker to remotely crash or disrupt your system without needing any credentials.

  • The denial-of-service condition could lead to downtime, affecting services or applications relying on Ollama.
  • Since no authentication is required, the attack surface is broad, increasing the risk of exploitation.

The impact is primarily on system availability, meaning your software or services may become unavailable until the issue is resolved.

Compliance Impact

This vulnerability may indirectly affect compliance with standards and regulations depending on how Ollama is used in your environment.

  • GDPR: If Ollama processes personal data and the denial-of-service disrupts data processing or availability, it could violate GDPR's requirements for data availability and resilience (Article 32).
  • HIPAA: If Ollama is used in a healthcare setting to handle protected health information (PHI) and the vulnerability causes downtime, it may violate HIPAA's availability requirements for electronic PHI.

While the vulnerability itself does not directly expose data, the resulting denial-of-service could lead to non-compliance if it disrupts critical services or data access.

Mitigation Strategies

The following steps can help mitigate the risk posed by CVE-2026-15685:

  • Restrict interaction with the Ollama product. Limit access to the service to trusted networks or users only. Use firewalls or network segmentation to block unauthorized access.
  • Update Ollama to the latest version if a patch is available. Check the official Ollama repository or vendor advisories for updates.
  • Disable the Ollama service if it is not critical to your operations until a patch is applied.
  • Monitor the system for signs of exploitation, such as unexpected crashes or high resource usage in Ollama processes.
  • Apply network-level protections, such as intrusion detection/prevention systems (IDS/IPS), to detect and block exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15685. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart