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.
Published: 2026-07-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Thu, 16 Jul 2026 00:30:00 +0000

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


Tue, 14 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 13 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
Vendors & Products Ollama
Ollama ollama

Mon, 13 Jul 2026 21:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-07-14T13:05:28.063Z

Reserved: 2026-07-13T21:29:52.777Z

Link: CVE-2026-15685

cve-icon Vulnrichment

Updated: 2026-07-14T13:05:24.604Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-13T21:30:09Z

Links: CVE-2026-15685 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:30:05Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-787

    Out-of-bounds Write