CVE-2026-7482
published high CVSS 4.0 · 8.8Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ollama | — | ollama/ollamaollama · 0 to < 0.17.1 · Other versions: unaffected | Affected | Not stated | Echo |
| SUSE / openSUSE | openSUSE-Tumbleweed | ollamaaarch64 | Advisory build | 0.33.1-1.1 | OPENSUSE-SU-2026:11688-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ollamappc64le | Advisory build | 0.33.1-1.1 | OPENSUSE-SU-2026:11688-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ollamas390x | Advisory build | 0.33.1-1.1 | OPENSUSE-SU-2026:11688-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ollamax86_64 | Advisory build | 0.33.1-1.1 | OPENSUSE-SU-2026:11688-1 |
Description
Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system prompts, and concurrent users' conversation data, and can be exfiltrated by uploading the resulting model artifact through the /api/push endpoint to an attacker-controlled registry. The /api/create and /api/push endpoints have no authentication in the upstream distribution. Default deployments bind to 127.0.0.1, but the documented OLLAMA_HOST=0.0.0.0 configuration is widely used in practice (large public-internet exposure observed).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Echo · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:L/U:Red
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | Echo · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ollama | ollama | 0 to < 0.17.1 (affected · semver)Default: unaffected | Echo · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
3- Fix commit 88d57d0 https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047
- ollama/ollama PR #14406 — ggml: ensure tensor size is valid (fix) https://github.com/ollama/ollama/pull/14406
- ollama v0.17.1 release notes https://github.com/ollama/ollama/releases/tag/v0.17.1
Provider assertions
2Echo · cna
Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bd966dc8fb5442f07119dd51dd004e08733b06863045934326e18704b13b5287
- Ingested
- 23 Sep 2026, 09:33:51 UTC
- Source record
- Official CVE record