SecurityContext

CVE-2026-7482: Ollama < 0.17.1 - Information Disclosure

Classification

  • Cwe: CWE-125
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Epss score: 0.0708
  • Epss percentile: 0.94372
  • Not known: cpe

Metadata

  • Fofa-query: body="Ollama is running" && port="11434"
  • Max-request: 2
  • Product: ollama
  • Shodan-query: port:11434 "Ollama is running"
  • Vendor: ollama
  • Checked, none or zero: verified

Products

ProductIndexedUrl
ollama:ollamayes/v1/products/ollama/ollama

Labels

  • Name: Ollama - Information Disclosure
  • Impact: Remote attackers can leak sensitive memory contents including environment variables, API keys, and user data, leading to information disclosure.
  • Remediation: Update to version 0.17.1 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-7482
  • Not known: requirements

```yaml

id: CVE-2026-7482

info:

name: Ollama < 0.17.1 - Information Disclosure

author: theamanrawat

severity: high

description: |

Ollama < 0.17.1 contains a heap out-of-bounds read caused by improper validation of tensor offset and size in GGUF model loader, letting remote attackers leak sensitive memory data via /api/create and /api/push endpoints, exploit requires no authentication.

impact: |

Remote attackers can leak sensitive memory contents including environment variables, API keys, and user data, leading to information disclosure.

remediation: |

Update to version 0.17.1 or later.

reference:

- https://github.com/advisories/GHSA-x8qc-fggm-mpqg

- https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047

- https://github.com/szybnev/CVE-2026-7482

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

cvss-score: 9.1

cve-id: CVE-2026-7482

epss-score: 0.0708

epss-percentile: 0.94372

cwe-id: CWE-125

metadata:

max-request: 2

verified: false

vendor: ollama

product: ollama

shodan-query: 'port:11434 "Ollama is running"'

fofa-query: 'body="Ollama is running" && port="11434"'

tags: cve,cve2026,ollama,exposure,vuln,vkev,passive

flow: http(1) && http(2)

http:

- method: GET

path:

- '{{BaseURL}}/'

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, "Ollama is running")'

- 'len(body) < 64'

condition: and

internal: true

- method: GET

path:

- '{{BaseURL}}/api/version'

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(content_type, "application/json")'

- 'compare_versions(ollama_version, "< 0.17.1")'

condition: and

extractors:

- type: regex

name: ollama_version

group: 1

regex:

- '"version"\s*:\s*"([0-9]+\.[0-9]+\.[0-9]+)"'

digest: 490a0046304402205cf35b73a7111d1ea36fda373c7b133346ec1219079acceb9682c3ffcd44b426022007de99b346c4ddee5643cd43fb3350a3aa9a3ec1255649c14510d1fbc39a654f:922c64590222798bb761d5b6d8e72950

```