Description
An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).
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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| SLES 15 SP5 | govulncheck-vulndb | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 | govulncheck-vulndb | 0.0.20241104T154416-5.1 | openSUSE-SU-2024:0350-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241101T215616-1.1 | openSUSE-SU-2024:14452-1 |
| openSUSE Tumbleweed | zed | 1.24.2-1.1 | openSUSE-SU-2026:12355-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| openSUSE Leap 15.5 | govulncheck-vulndb | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/ollama/ollama | < 0.1.46 | 0.1.46 | GHSA-95j2-w8x7-hm88 |
Advisories 4
- openSUSE-SU-2026:12355-1 zed-1.24.2-1.1 on GA media SUSE / openSUSE Security Updates · Oct 31, 2026
- SUSE-SU-2024:3950-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 5, 2026
- openSUSE-SU-2024:0350-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14452-1 govulncheck-vulndb-0.0.20241101T215616-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025