Improper Validation of Array Index Affecting github.com/ollama/ollama/server package, versions <0.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (25th 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-GOLANG-GITHUBCOMOLLAMAOLLAMASERVER-10393659
  • published19 Jun 2025
  • disclosed16 May 2025
  • creditå·´æ–¯.zznQ

Introduced: 16 May 2025

CVE-2025-1975  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade github.com/ollama/ollama/server to version 0.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index when downloading a model via the /api/pull endpoint. An attacker can cause the server to crash by customizing the manifest content and spoofing a service.

CVSS Base Scores

version 4.0
version 3.1