← All advisories
CVE-2026-7482highSecret exposure2026-05-04

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

Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader.

01.

What it is

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.

02.

How to check

  1. Affected: github.com/ollama/ollama (go) < 0.17.1.
  2. Compare your installed version with the range above (command below).
03.

How to fix

  1. Upgrade github.com/ollama/ollama to 0.17.1 or later.
ollama --version
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.

Free. The list is new, so the first issues go out once there are readers. Unsubscribe from any email in one click. We never sell or share addresses.