CVE-2025-1975: Improper Validation of Array Index in ollama/ollama
Vulnerability summary
CVE-2025-1975 is a high (CVSS 7.5) Improper Validation of Array Index vulnerability in ollama. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 46% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 16-05-2025PublishedVulnerability first disclosed.
- 16-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard3 products
- k8sgpt< 0.4.28-r0
- mods< 1.8.1-r14
- ollama-fipsAll versions (No fix recorded)
Ollama2 products
- ollama0.5.11
- ollama/ollama≥ unspecified, ≤ latest
Wolfi2 products
- k8sgpt< 0.4.28-r0
- mods< 1.8.1-r14
Github.com/ollama1 product
- ollama≤ 0.5.11 | All versions (No fix recorded)
PyPI1 product
- ollama≤ 0.5.11
5 vendors · 9 products
References
7 links- github.com/ollama/ollamaPACKAGE