top of page
perceptive_background_267k.jpg

Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file …

Published:

3 May 2026 at 22:00:00

Alert date:

4 May 2026 at 14:01:22

Source:

nvd.nist.gov

Click to open the original link from this advisory

Emerging Technologies, Data Breach & Exfiltration

Ollama before version 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts maliciously crafted GGUF files where declared tensor offset and size exceed file length. During quantization, the server reads past allocated heap buffer boundaries. Leaked memory may contain sensitive data including environment variables, API keys, system prompts, and user conversation data. Attackers can exfiltrate this data by uploading resulting model artifacts through the /api/push endpoint. Both endpoints lack authentication in upstream distribution. While default deployments bind to localhost, the OLLAMA_HOST=0.0.0.0 configuration is widely used, creating significant public internet exposure.

Technical details

Mitigation steps:

Affected products:

Ollama

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page