CVE-2026-86289: Ollama GGUF Decoder gguf.go readGGUFV1String integer overflow

Published Sep 7, 2026
·
Updated

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.

Affected Software

1 affected component
Ollama Ollama<=0.31.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ollama to a version that resolves this vulnerability.

    Fixed in 0.31.2-rc1Patch 67b6a1c2d45321e0cb3c04a18073f9818de7724b
  2. Compensating control

    Because the vulnerability can be exploited remotely, restrict network access to Ollama (and any ports exposing it) to only trusted clients until the upgrade to 0.31.2-rc1 is completed.

Event History

Sep 7, 2026
CVE Published
via MITRE·08:45 AM
Data Sourced
via MITRE·08:45 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Ollama versions up to 0.31.1 are affected. The vulnerable code is in the GGUF Decoder, specifically the readGGUFV1String function in fs/ggml/gguf.go.

2

What does exploitation require?

The issue can be exploited remotely through manipulation of data processed by the GGUF Decoder. No privileges are required, but user interaction is required according to the supplied severity vector.

3

Is public exploit information available?

Yes. The exploit has been made public and could be used.

4

What version addresses the issue?

Upgrading to Ollama version 0.31.2-rc1 is capable of addressing the issue. The referenced patch is 67b6a1c2d45321e0cb3c04a18073f9818de7724b.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203