Schwachstellen / CVE-2026-7482

kritisch

CVE-2026-7482

github.com/ollama/ollama: ollama: Ollama: Information disclosure via heap out-of-bounds read in GGUF model loader

Veröffentlicht Geändert CWE 125
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

GHSA8.8CVSS: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
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut Red Hat. Niedriger laut GHSA (hoch).

Beschreibung

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).

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
chainguardk8sgpt, mods0.4.33-r0 und 1 weitere
go::GitHub Security Advisory Gogithub.com/ollama/ollama0.17.1
minimosollama0.17.1-r0
rapidfort alpine 3.20ollama0.17.7-r0
rapidfort alpine 3.21ollama0.17.7-r0
rapidfort alpine 3.22ollama0.17.7-r0
rapidfort alpine 3.23ollama0.17.7-r0
rapidfort fedora 43ollama0.9.4-5.fc43
wolfik8sgpt, mods0.4.33-r0 und 1 weitere
Alle 11 Einträge aus 9 Quellen zeigen
QuellePaketBehoben in
chainguardk8sgpt0.4.33-r0
chainguardmods1.8.1-r12
go::GitHub Security Advisory Gogithub.com/ollama/ollama0.17.1
minimosollama0.17.1-r0
rapidfort alpine 3.20ollama0.17.7-r0
rapidfort alpine 3.21ollama0.17.7-r0
rapidfort alpine 3.22ollama0.17.7-r0
rapidfort alpine 3.23ollama0.17.7-r0
rapidfort fedora 43ollama0.9.4-5.fc43
wolfik8sgpt0.4.33-r0
wolfimods1.8.1-r12

Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.