CVE-2024-12886
published high CVSS 3.0 · 7.5Out-Of-Memory (OOM) Vulnerability in ollama/ollama
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ollama | — | ollama/ollamaunspecified through latest | Affected | Not stated | @huntr_ai |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250331T171002-1.1 | OPENSUSE-SU-2025:14955-1 |
Description
An Out-Of-Memory (OOM) vulnerability exists in the `ollama` server version 0.3.14. This vulnerability can be triggered when a malicious API server responds with a gzip bomb HTTP response, leading to the `ollama` server crashing. The vulnerability is present in the `makeRequestWithRetry` and `getAuthorizationToken` functions, which use `io.ReadAll` to read the response body. This can result in excessive memory usage and a Denial of Service (DoS) condition.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ollama | ollama/ollama | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
1Provider assertions
2@huntr_ai · cna
Out-Of-Memory (OOM) Vulnerability in ollama/ollama
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 311677b5e3c12c15f7ed954c35abb73c27355239b74fe1c43acf51c544ad10b8
- Ingested
- 23 Sep 2026, 08:17:33 UTC
- Source record
- Official CVE record