highCVSS 9.1Vulnerability

CVE-2026-7482

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

Properties

severity
high
summary
Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader
epss_score
0.02241
cvss_score
9.1
ghsa_published
2026-05-04T15:31:14Z
source_url
https://github.com/advisories/GHSA-x8qc-fggm-mpqg
ghsa_updated
2026-05-08T17:26:03Z
ghsa_id
GHSA-x8qc-fggm-mpqg
cve_id
CVE-2026-7482
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
signal_observed_at
2026-09-11T17:55:57+00:00
is_ghsa_only
false
epss_percentile
0.82076

Related Entities (5)

ENRICHED_BY (1)

[Source]FIRST EPSS

VULNERABLE_TO (1)

[Software]go/github.com/ollama/ollama

AFFECTS (1)

[Software]go/github.com/ollama/ollama

HAS_WEAKNESS (1)

[Weakness]Out-of-bounds Read

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-7482 (CVSS 9.1) — Ninja Signal Threat Intelligence | Ninja Signal