Vulnérabilités / CVE-2026-7482

critique

CVE-2026-7482

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

Publiée Modifiée CWE 125
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon Red Hat. Plus basse selon GHSA (élevée).

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

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
chainguardk8sgpt, mods0.4.33-r0 et 1 autres
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 et 1 autres
Afficher les 11 entrées de 9 sources
SourcePaquetCorrigé en
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

Références

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.