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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ollama | ollama/ollama | unspecified – ≤ latest | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250331T171002-1.1 | openSUSE-SU-2025:14955-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
dannyEndorTest/ollama-consumer ★ 0 · May 20, 2026
Demo consumer for ollama v0.5.0 (vulnerable range for CVE-2024-12886) — endorctl scan target
-
dannyEndorTest/ollama ★ 0 · May 19, 2026
EXPOSURE demo target (ollama) — HOT baseline for CVE-2024-12886. See README.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/ollama/ollama | <= 0.3.14 | — | GHSA-v464-r2r9-www7 |
| Go | github.com/ollama/ollama | < 0.4.0-ci1 | 0.4.0-ci1 | GO-2025-3548 |
Advisories 2
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2025:14955-1 govulncheck-vulndb-0.0.20250331T171002-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026