HighVulnerability
CVE-2026-65315: Ollama uncontrolled memory allocation in GGUF metadata parser via crafted file
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-65315
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
CVE-2026-65315 affects Ollama at HEAD f0078ae. The GGUF metadata parser allocates memory based on attacker-controlled length, count and dimension fields without checking them against the remaining file size. A remote attacker can upload a crafted GGUF file under 1KB through the blob upload, model create or pull API endpoints, causing an unrecoverable Go out-of-memory fatal error or makeslice panic. Because these bypass recovery middleware, the entire server process crashes.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- HighCVE-2026-123356: GROBID unauthenticated thread exhaustion through /api/modelTraining endpointSimilar attack · NVD/CVE Database
- MediumCVE-2026-83494: training-operator immutability check bypass in PyTorchJob ValidateUpdate webhookSimilar attack · NVD/CVE Database
- CriticalCVE-2026-48705: MONAI PydicomReader affine computation accepts non-finite DICOM valuesSimilar attack · NVD/CVE Database
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence