CVE-2026-7482: Vulnerability in Ollama

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

Go, CWE-125

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
7.5 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-x8qc-fggm-mpqg
EU ID
EUVD-2026-26949
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Published
4 May 2026
Last change
11 Nov 2026
Likelihood rank
Higher than 95 % of all rated vulnerabilities
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Ollama Before 0.17.1. Fixed in 0.17.1

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/ollama/ollama Go, Affected before 0.17.1. Fixed in 0.17.1

Patches and fixes

Updates, commits and release notes

Related