9.1

CVE-2026-7482: ollama Out-of-bounds Read

CVSS: 9.1v3.1CriticalAnalyzed
AliasesCGA-8p9h-j6rh-6q4hCGA-96ph-rxfm-ww8xCGA-fw4g-v7qw-q2wp
Published 04-05-2026Last modified 04-05-2026

Vulnerability summary

CVE-2026-7482 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in ollama. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 53% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.71%
0%100%
Low · -1.53 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 04-05-2026
    PublishedVulnerability first disclosed.
  2. 04-05-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

8 scores · 5 sources · 2 versions

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

-1.53 pp

From 2.24% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.71%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • k8sgpt< 0.4.33-r0
  • mods< 1.8.1-r10 | < 1.8.1-r12
Wolfi2 products
  • k8sgpt< 0.4.33-r0
  • mods< 1.8.1-r10 | < 1.8.1-r12
Github.com/ollama1 product
  • ollama< 0.17.1
Ollama1 product
Opensuse1 product
  • ollama&distro=openSUSE Tumbleweed< 0.33.1-1.1

5 vendors · 7 products

References

9 links