CVE-2026-7482
criticalpriority · track · 11EPSS 0.022 · 83 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.8–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- 0x0OZ/CVE-2026-7482-PoC1day vuln research I guessPoC · poc_in_github
- kaleth4/CVE-2026-7482kaleth4/CVE-2026-7482PoC · poc_in_github
affected products (6)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1379Ollama: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2026-05-05csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ollama ausnutzen, um Informationen offenzulegen.
- GHSA-x8qc-fggm-mpqgOllama contains a heap out-of-bounds read vulnerability in the GGUF model loader2026-05-04ghsa · osvUS
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).
- GO-2026-5748Ollama contains a heap out-of-bounds read vulnerability in the GGUF model loader in github.com/ollama/ollama2026-07-27vendor · osvUS
Ollama is vulnerable to a heap out-of-bounds read in its GGUF model loader. A specially crafted GGUF file can cause the loader to read beyond the allocated heap buffer, potentially leading to a denial of service (crash).
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/ollama/ollama/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-7482cnnvd
- https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047enisa_euvd
- https://github.com/ollama/ollama/pull/14406enisa_euvd
- https://github.com/ollama/ollama/releases/tag/v0.17.1enisa_euvd
- https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047Patchnvd
- https://github.com/ollama/ollama/pull/14406Issue TrackingPatchnvd
- https://github.com/ollama/ollama/releases/tag/v0.17.1Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan