---
id: CVE-2026-86289
title: A vulnerability was found in Ollama up to 0.31.1
summary: >-
  A vulnerability was found in Ollama up to 0.31.1. This issue affects the
  function readGGUFV1String of the file fs/ggml/gguf.go of the component GGUF
  Decoder. Performing a manipulation results in integer overflow. The attack is
  possible t…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-189
  - CWE-190
product: Ollama
affected:
  - Ollama 0.31.0
  - Ollama 0.31.1
published: '2026-09-07'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T21:17:43.407'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86289'
references:
  - url: 'https://github.com/ollama/ollama/'
    label: cna@vuldb.com
  - url: >-
      https://github.com/ollama/ollama/commit/67b6a1c2d45321e0cb3c04a18073f9818de7724b
    label: cna@vuldb.com
  - url: 'https://github.com/ollama/ollama/issues/17033'
    label: cna@vuldb.com
  - url: 'https://github.com/ollama/ollama/pull/17062'
    label: cna@vuldb.com
  - url: 'https://github.com/ollama/ollama/releases/tag/v0.31.2-rc1'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-86289'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/906136'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399448'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399448/cti'
    label: cna@vuldb.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86289.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-86289'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-86289'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-11T20:02:57.609369Z'
epss: 0.00688
epssPercentile: 0.50617
ingestedAt: '2026-09-08T15:33:26.975Z'
vendor: Red Hat
---

## Overview

A vulnerability was found in Ollama up to 0.31.1. This issue affects the function readGGUFV1String of the file fs/ggml/gguf.go of the component GGUF Decoder. Performing a manipulation results in integer overflow. The attack is possible to be carried out remotely. The exploit has been made public and could be used. Upgrading to version 0.31.2-rc1 is capable of addressing this issue. The patch is named 67b6a1c2d45321e0cb3c04a18073f9818de7724b. It is recommended to upgrade the affected component.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86289.json)
