CVE-2025-1975

Improper Validation of Array Index in ollama/ollama

Published May 16, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-15424 Ollama Server Vulnerable to Denial of Service (DoS) Attack
Github GHSA Github GHSA GHSA-wrh5-cmwx-q2qr Ollama Server Vulnerable to Denial of Service (DoS) Attack
History
Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
CPEs cpe:2.3:a:ollama:ollama:0.5.11:*:*:*:*:*:*:*
Vendors & Products Ollama
Ollama ollama
Type Values Removed Values Added
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': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Improper Validation of Array Index in ollama/ollama
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

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
May 16, 2025, 3:50 PM
Reserved
Mar 4, 2025, 9:57 PM
Status
Analyzed
Published
May 16, 2025, 9:15 AM
Modified
Jun 17, 2026, 8:40 AM
Severity
Important
Public date
May 16, 2025, 8:25 AM