CVE-2025-0315: Allocation of Resources Without Limits or Throttling in ollama/ollama
Vulnerability summary
CVE-2025-0315 is a high (CVSS 7.5) vulnerability in ollama. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.8% 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
- 20-03-2025PublishedVulnerability first disclosed.
- 20-03-2025Last modifiedVulnerability information updated.
Description
A vulnerability in ollama/ollama <=0.3.14 allows a malicious user to create a customized GGUF model file, upload it to the Ollama server, and create it. This can cause the server to allocate unlimited memory, leading to a Denial of Service (DoS) attack.
CVSS metrics
6 scores · 5 sources · 2 versions- 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.66%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.66% 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
- k8sgptAll versions (No fix recorded)
- mods< 1.8.1-r14
- ollama-fipsAll versions (No fix recorded)
Ollama2 products
- ollama≤ 0.3.14
- ollama/ollama≥ unspecified, ≤ latest
Wolfi2 products
- k8sgptAll versions (No fix recorded)
- mods< 1.8.1-r14
Github.com/ollama1 product
- ollama≤ 0.3.14 | All versions (No fix recorded)
4 vendors · 8 products
References
5 links- github.com/ollama/ollamaPACKAGE