CVEBrief

Home / ollama / ollama / CVE-2026-7482

CVE-2026-7482: is it exploited, and which versions of ollama are affected and fixed?

CVE-2026-7482 is an out-of-bounds read vulnerability in ollama. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: github.com/ollama/ollama before 0.17.1 (GitHub advisory GHSA-x8qc-fggm-mpqg). Fixed in 0.17.1 (GitHub advisory GHSA-x8qc-fggm-mpqg). Severity: High (8.8, CVSS 3.1, from Echo).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 09:38 UTC
Affected
github.com/ollama/ollama before 0.17.1
GitHub advisory GHSA-x8qc-fggm-mpqg
Fixed in
0.17.1
GitHub advisory GHSA-x8qc-fggm-mpqg
Severity
High 8.8
CVSS 3.1 from Echo
Exploit odds (EPSS)
7.52% in 30 days
higher than 95% of CVEs; FIRST, December 2, 2026

What is CVE-2026-7482?

Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers

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

From the CVE record by Echo, last updated May 4, 2026, 13:48 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
ollamaollama ollama/ollamabefore 0.17.10.17.1

As the CVE record by Echo states it, last updated May 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/ollama/ollama< 0.17.10.17.1GHSA-x8qc-fggm-mpqg

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 8, 2026. Summary: Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
ollamaollamabefore 0.17.1application

NVD analysis (status Analyzed), last modified November 11, 2026, 23:10 UTC.

How severe is CVE-2026-7482?

ScoreVersionVectorSource
Critical 9.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HEcho
High 8.8CVSS 4.0CVSS: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:RedEcho

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-7482 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 4, 2026)
EPSS
7.52% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade to ollama 0.17.1 or later. The fix in PR #14406 validates that declared tensor offset+size do not exceed the GGUF file size before reading, and adds a length check in the quantizer prior to the unsafe read.

Is there a workaround? (from the CVE record)

Until upgrade is possible: (1) ensure Ollama is bound to a trusted interface only (default OLLAMA_HOST=127.0.0.1); (2) front Ollama with a reverse proxy that requires authentication on /api/create and /api/push; (3) restrict outbound network egress from the Ollama host to prevent exfiltration via /api/push to attacker-controlled registries.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
April 30, 2026
Published
May 4, 2026, 12:38 UTC
CVE record updated
May 4, 2026, 13:48 UTC by Echo
NVD
Analyzed, last modified November 11, 2026, 23:10 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect ollama?

Every CVE in ollama

Questions about CVE-2026-7482

Is CVE-2026-7482 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 7.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of ollama are affected by CVE-2026-7482?

github.com/ollama/ollama before 0.17.1, per the GitHub advisory GHSA-x8qc-fggm-mpqg. The tables above give every range the sources list.

Which version fixes CVE-2026-7482?

0.17.1, per the GitHub advisory GHSA-x8qc-fggm-mpqg. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-7482?

High (8.8, CVSS 3.1, from Echo). The severity table above shows each score with its source.

Where is the official record of CVE-2026-7482?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.