Improper Validation of Array Index Affecting ollama package, versions <0.8.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.39% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-OLLAMA-17987486
  • published16 Jul 2026
  • disclosed13 Jul 2026

Introduced: 13 Jul 2026

CVE-2026-15685  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade Minimos:latest ollama to version 0.8.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ollama package and not the ollama package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.