Vulnerabilidades / CVE-2026-7482

crítica

CVE-2026-7482

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

Publicada Modificada CWE 125
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según Red Hat. Más baja según GHSA (alta).

Descripción

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

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
chainguardk8sgpt, mods0.4.33-r0 y 1 más
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 y 1 más
Mostrar las 11 entradas de 9 fuentes
FuentePaqueteCorregido 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

Referencias

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.