CVE-2026-86289: Integer Overflow in Ollama
CVE-2026-86289 is an integer overflow vulnerability in Ollama versions 0.31.0 and 0.31.1 affecting the GGUF Decoder component. The flaw exists in the readGGUFV1String function of the fs/ggml/gguf.go file. This vulnerability can be exploited remotely and the exploit code has been publicly disclosed. Upgrading to version 0.31.2-rc1 addresses this issue.
AI Analysis
Technical Summary
An integer overflow vulnerability was identified in the readGGUFV1String function within the GGUF Decoder component of Ollama up to version 0.31.1. This flaw allows remote attackers to cause an integer overflow by manipulating input data. The vulnerability has a CVSS 4.0 base score of 5.3, indicating medium severity. A patch fixing this issue is included in version 0.31.2-rc1, with the patch commit identified as 67b6a1c2d45321e0cb3c04a18073f9818de7724b. Public exploit code exists, but no known active exploitation in the wild has been reported.
Potential Impact
Successful exploitation of this vulnerability could lead to integer overflow conditions in the GGUF Decoder component, potentially causing application instability or unexpected behavior. The vulnerability is remotely exploitable without privileges or user interaction, increasing its risk. However, the CVSS score and available information classify the impact as medium severity.
Mitigation Recommendations
A fix is available by upgrading Ollama to version 0.31.2-rc1, which includes the patch 67b6a1c2d45321e0cb3c04a18073f9818de7724b addressing this integer overflow. It is recommended to apply this upgrade promptly to mitigate the vulnerability.
CVE-2026-86289: Integer Overflow in Ollama
Description
CVE-2026-86289 is an integer overflow vulnerability in Ollama versions 0.31.0 and 0.31.1 affecting the GGUF Decoder component. The flaw exists in the readGGUFV1String function of the fs/ggml/gguf.go file. This vulnerability can be exploited remotely and the exploit code has been publicly disclosed. Upgrading to version 0.31.2-rc1 addresses this issue.
CVSS v4.0
Score 5.3medium
Affected software
pkg:golang/github.com/ollama/ollamacpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An integer overflow vulnerability was identified in the readGGUFV1String function within the GGUF Decoder component of Ollama up to version 0.31.1. This flaw allows remote attackers to cause an integer overflow by manipulating input data. The vulnerability has a CVSS 4.0 base score of 5.3, indicating medium severity. A patch fixing this issue is included in version 0.31.2-rc1, with the patch commit identified as 67b6a1c2d45321e0cb3c04a18073f9818de7724b. Public exploit code exists, but no known active exploitation in the wild has been reported.
Potential Impact
Successful exploitation of this vulnerability could lead to integer overflow conditions in the GGUF Decoder component, potentially causing application instability or unexpected behavior. The vulnerability is remotely exploitable without privileges or user interaction, increasing its risk. However, the CVSS score and available information classify the impact as medium severity.
Mitigation Recommendations
A fix is available by upgrading Ollama to version 0.31.2-rc1, which includes the patch 67b6a1c2d45321e0cb3c04a18073f9818de7724b addressing this integer overflow. It is recommended to apply this upgrade promptly to mitigate the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-09-06T15:44:05.664Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a9e7b6facd9273b494499ca
Added to database: 09/07/2026, 08:53:03 UTC
Last enriched: 09/07/2026, 09:08:27 UTC
Last updated: 09/07/2026, 09:17:15 UTC
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.