CVE-2026-15685

Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability

Published Jul 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Ollama’s downloadBlob function fails to validate the size of user‑supplied data, allowing an attacker to cause a memory access past the end of an allocated array. This failure represents CWE‑129 (Improper Validation of Array Index) and CWE‑787 (Out‑of‑Bounds Write), and results in a crash or restart of the service, creating a denial‑of‑service condition. The vulnerability does not alter confidentiality or integrity, but it can be invoked remotely without authentication.

Affected Systems

All installations of Ollama are potentially affected. No specific version range is listed; any installation that has not applied a vendor fix is at risk.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity impact, while the EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog. The high severity score indicates that a successful exploit would disrupt the service. Based on the description, it is inferred that an attacker can trigger a denial‑of‑service condition remotely without authentication. However, the advisory does not state whether the downloadBlob endpoint is publicly reachable or limited to internal traffic, so the exact exposure level is unknown.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict access to the downloadBlob endpoint by configuring firewall rules or network segmentation, limiting exposure to authorized networks only.
  • Monitor system logs for abnormal blob download attempts and consider automating service restarts or generating alerts when repeated failures occur, ensuring anomalous input patterns that could trigger CWE‑129 or CWE‑787 are detected.
  • Check the vendor’s website for future security updates or temporary workarounds as they become available.

Generated by OpenCVE AI on July 31, 2026 at 11:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
Vendors & Products Ollama
Ollama ollama
Type Values Removed Values Added
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.
Title Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability
Weaknesses CWE-129
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Jul 14, 2026, 1:05 PM
Reserved
Jul 13, 2026, 9:29 PM
Status
Analyzed
Published
Jul 13, 2026, 10:16 PM
Modified
Jul 14, 2026, 8:59 PM
Severity
Important
Public date
Jul 13, 2026, 9:30 PM