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
- MediumEndor Labs’ AI SAST Finds Zero Day Memory-Amplification DoS in Anthropic’s buffa library | Endor LabsSimilar attack · Endor Labs Blog
- MediumCVE-2026-44627: Intel oneDNN integer overflow to buffer overflow in Ring 3 user applicationsSimilar attack · NVD/CVE Database
- MediumGHSA-h7c4-q426-7jh9: tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clientsSimilar attack · GitHub Advisory Database
- HighGHSA-4p8p-pjpq-2w7h: tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP processSimilar attack · GitHub Advisory Database
- HighGHSA-447x-qqwf-m7xq: tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoSSimilar attack · GitHub Advisory Database