CVE-2026-86289
Ollama GGUF Decoder gguf.go readGGUFV1String integer overflow
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 7, 2026
- Updated
- Sep 11, 2026
- Reserved
- Sep 6, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 5.0 Medium | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Ollaman/a |
|
References
- VDB-399448 | Ollama GGUF Decoder gguf.go readGGUFV1String integer overflowvdb-entrytechnical-description
- VDB-399448 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-86289 | CVE Analysis and Reportthird-party-advisory
- Submit #906136 | Ollama <= 0.17.1 Integer Overflowthird-party-advisory
- https://github.com/ollama/ollama/issues/17033exploitissue-tracking
- https://github.com/ollama/ollama/pull/17062issue-trackingpatch
- https://github.com/ollama/ollama/commit/67b6a1c2d45321e0cb3c04a18073f9818de7724bpatch
- https://github.com/ollama/ollama/releases/tag/v0.31.2-rc1patch
- https://github.com/ollama/ollama/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.