CVE-2025-1975

Improper Validation of Array Index in ollama/ollama

State
Published
Severity
7.5 High
Published
May 16, 2025
Updated
May 16, 2025
Reserved
Mar 4, 2025

Read the record on cve.org

Description

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull endpoint, which can lead to a server crash.

Scores

CVSSScoreVectorSource
3.07.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H@huntr_ai

Weaknesses

  • CWE-129 Improper Validation of Array Index

Affected Products

ProductVersions
ollama/ollamaollama
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.