Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-7482: Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader

66
This week
CRITICAL 9.1REMOTEUPGRADE

CVE-2026-7482 is a critical-severity flaw (CVSS 9.1) affecting ollama. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 promp

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.2% (top 17%)
CISA exploited listNo
WeaknessCWE-125
Published2026-05-04
Last modified2026-06-17
Publisher (CNA): Echo · Vendor: ollama

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ollama ollama UPGRADE
Affected: < 0.17.1
Fixed in: 0.17.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ollama || rpm -q ollama || ollama --version
2. UPGRADE to 0.17.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ollama
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ollama
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Go · github.com/ollama/ollama · FIXED · 0.17.1 · vulnerable: < 0.17.1 · source
go get github.com/ollama/ollama@v0.17.1 go list -m github.com/ollama/ollama
Fedora 46 · fzssh · FIXED · 1.4.0-2.fc46 · FEDORA-2026-8004fcd067 · source
sudo dnf upgrade --advisory=FEDORA-2026-8004fcd067

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-7482?

ollama: upgrade to 0.17.1. Exact commands for each OS are on this page.

Is CVE-2026-7482 being exploited?

CVE-2026-7482 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-7482 affect?

CVE-2026-7482 affects ollama. Severity is critical (CVSS 9.1). 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; du

How urgent is CVE-2026-7482?

Priority 66/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.