← Vulnerability feed

Vulnerability record · CVE-2026-7482 · published 4 May 2026

CVE-2026-7482: Ollama out-of-bounds read vulnerability

Ollama · Ollama

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

8.8 CVSS 4.0 High EPSS 0.71% · top 48.3% CWE-125 · Out-of-bounds read
8.8CVSS 4.0 base score
0.71%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

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:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-7482 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-63389Ollama missing authentication for critical function vulnerabilityA critical authentication bypass vulnerability exists in Ollama platform's API endpoints in versions prior to and including v0.12.3. The platform exp…EPSS 0.71%8.8CVE-2024-37032Ollama digest validation path traversal enables remote code executionOllama before 0.1.34 fails to validate the format of the model digest (expected sha256 with 64 hex digits) when resolving the model path, so malforme…EPSS 90%analysed8.7CVE-2025-15514Ollama vulnerabilityOllama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functiona…EPSS 0.78%8.2CVE-2024-39720Ollama out-of-bounds read vulnerabilityAn issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starti…EPSS 2.5%7.7CVE-2026-42249Ollama path traversal vulnerabilityOllama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper handling of attacker‑controlled HTTP respon…EPSS 0.52%7.7CVE-2026-42248Ollama download of code without integrity check vulnerabilityOllama for Windows does not perform integrity or authenticity verification of downloaded update executables. Unlike other platforms, the Windows impl…EPSS 0.33%7.5CVE-2026-15685Ollama vulnerabilityOllama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial…EPSS 0.72%7.5CVE-2026-5757Ollama out-of-bounds read vulnerabilityUnauthenticated remote information disclosure vulnerability in Ollama's model quantization engine allows an attacker to read and exfiltrate the serve…EPSS 0.74%

Source: NIST National Vulnerability Database (record CVE-2026-7482), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.